Get agent
GET
Get agent

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

includeInstructions
boolean
default:false

Instructions can be tens of thousands of lines. Leave this off and use read_instructions to page through them only when you need the text.

includePrompt
boolean
default:false

The global prompt can be tens of thousands of lines. Leave this off and use read_prompt to page through it only when you need the text.

Response

200 - application/json

Returns the agent's whole configuration: its model settings, prompt, instructions, the playbooks and workflows attached to it, and its system tool setup. The voice section is optional and may be absent.

agent
object
required

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.