Skip to content

HighLevel: Agent studio schemas

13 HighLevel schemas with complete fields and constraints.

← Agent studio operations · All schemas

Create Agent — agent Studio create Agent — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
agencyIdstringOptionalAgency ID
authorEmailstringOptionalAuthor email
authorIdstringOptionalAuthor ID
authorNamestringOptionalAuthor name
descriptionstringOptionalDescription of the agent
edgesarrayOptionalEdges array (deprecated, prefer using version.edges)
edges[]stringEach item
locationIdstringRequired within parentLocation ID
namestringOptionalName of the agent
nodesarrayOptionalNodes array (deprecated, prefer using version.nodes)
nodes[]stringEach item
statusstringRequired within parentStatus of the agent
One of: active, inactive, archived
versionobjectRequired within parentVersion data for the agent including nodes, edges, and configuration

Create Agent — agent Studio create Agent — response body

FieldTypePresenceDescription and constraints
$objectRoot
agentobjectRequired within parentCreated agent data with metadata
messagestringRequired within parentResponse message
successbooleanRequired within parentSuccess status
versionsarrayRequired within parentCreated versions array (initial staging version)

Delete Agent — agent Studio delete Agent — response body

FieldTypePresenceDescription and constraints
$objectRoot
agentIdstringOptionalDeleted agent ID
messagestringRequired within parentResponse message
successbooleanRequired within parentSuccess status

Execute Agent — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
attachmentsarrayOptionalAttachments for the message
attachments[]ModelEach itemExpand Execute Agent — request body — body attachments item
contactIdstringOptionalContact ID to associate with this execution. When provided, contact data will be hydrated and made available to the agent.
executionIdstringOptionalUnique session identifier that maintains conversational context across multiple interactions within the same agent session. Omit this field for the first message in a new session. Include the executionId returned from the previous response to maintain context in subsequent messages.
inputVariablesobjectOptionalInput variables to pass to the agent. These should match the input variables defined in the agent configuration.
locationIdstringRequired within parentLocation ID
messagestringRequired within parentMessage to send to the agent
versionIdstringOptionalPublished version ID to execute. If not provided, the latest published production version will be used.

Referenced models: Execute Agent — request body — body attachments item

Execute Agent — request body — body attachments item

FieldTypePresenceDescription and constraints
$objectRoot
imageUrlstringRequired within parentURL of the image attachment
typestringRequired within parentType of attachment

Execute Agent — response body

FieldTypePresenceDescription and constraints
$objectRoot
attachmentsarrayRequired within parentResponse attachments
executionIdstringRequired within parentUnique session identifier that maintains conversational context across multiple interactions within the same agent session. Use this ID in subsequent requests to continue the conversation.
executionStatusstringRequired within parentExecution status
flowSwitchbooleanRequired within parentWhether flow was switched
generativeOutputsarrayRequired within parentGenerated outputs
goalCompletionbooleanRequired within parentWhen end node is added in the graph, this will be true if the agent reached the end node in the graph
interactionIdstringRequired within parentUnique identifier for a single interaction cycle, consisting of one user input and the corresponding agent response. Each message exchange generates a new interactionId.
nextExpectedInputstringRequired within parentExpected input type for next interaction
responsestringRequired within parentAgent response text
successbooleanRequired within parentSuccess status
typestringRequired within parentResponse type

Get Agent (Deprecated) — response body

FieldTypePresenceDescription and constraints
$objectRoot
agentobjectRequired within parentAgent metadata with all active versions
messagestringRequired within parentResponse message
successbooleanRequired within parentSuccess status
traceIdstringOptionalRequest trace ID for debugging

List Agents (Deprecated) — response body

FieldTypePresenceDescription and constraints
$objectRoot
agentsarrayRequired within parentList of agents with metadata
agents[]objectEach item
agents[].agentIdstringOptionalAgent ID
agents[].createdAtstringOptionalCreation timestamp
agents[].descriptionstringOptionalAgent description
agents[].locationIdstringOptionalLocation ID
agents[].namestringOptionalAgent name
agents[].statusstringOptionalAgent status (always "active")
agents[].updatedAtstringOptionalLast update timestamp
messagestringRequired within parentResponse message
paginationobjectRequired within parentPagination metadata
pagination.hasMorebooleanOptionalWhether more agents exist
pagination.limitJSONOptional
pagination.limit (anyOf 1)numberAlternativeNumber of agents per page
pagination.limit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pagination.offsetJSONOptional
pagination.offset (anyOf 1)numberAlternativeStarting position
pagination.offset (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pagination.totalJSONOptional
pagination.total (anyOf 1)numberAlternativeTotal number of agents
pagination.total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
successbooleanRequired within parentSuccess status

Promote to Production — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
locationIdstringRequired within parentLocation ID for authorization
userEmailstringOptionalUser email performing the promotion action
userIdstringOptionalUser ID performing the promotion action
userNamestringOptionalUser name performing the promotion action

Promote to Production — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataobjectRequired within parentResult data with production and new draft version details
messagestringRequired within parentResponse message
successbooleanRequired within parentSuccess status

Update Agent Metadata — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalDescription of the agent
locationIdstringRequired within parentLocation ID for authorization (cannot be updated)
namestringOptionalName of the agent
statusstringOptionalStatus of the agent
One of: active, inactive, archived

Update Agent Metadata — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataobjectRequired within parentUpdated agent or version data
messagestringRequired within parentResponse message
successbooleanRequired within parentSuccess status

Update Agent — agent Studio update Agent Version — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalDescription of the version
edgesarrayOptionalComplete array of edges connecting the nodes. Provide all edges including unchanged ones.
edges[]objectEach item
globalConfigobjectOptionalGlobal configuration including prompts and settings
globalVariablesarrayOptionalGlobal variables accessible throughout the agent workflow
globalVariables[]objectEach item
inputVariablesarrayOptionalInput variables required from user at execution time
inputVariables[]objectEach item
locationIdstringRequired within parentLocation ID for authorization
nodesarrayOptionalComplete array of nodes for the agent workflow. Provide all nodes including unchanged ones.
nodes[]objectEach item
runtimeVariablesarrayOptionalRuntime variables generated during agent execution
runtimeVariables[]objectEach item
userIdstringOptionalUser ID performing the update
userNamestringOptionalUser name performing the update
versionNamestringOptionalVersion name

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.