Organization API Key

Create agent via organization API key

post

Creates an agent by organization API key. The response includes the agent details.

Authorizations
Organization-Secret-KeystringRequired

Custom authentication header

Body
roleIdstring · uuidRequired

Agent role ID.

Example: 123e4567-e89b-12d3-a456-426614174000
namestringRequired

Name of the agent.

Example: My agent
publicNamestringRequired

Public name of the agent.

Example: My agent
descriptionstringOptional

Description of the agent.

Example: My agent description
disclaimerstringOptional

Disclaimer of the agent.

Example: My agent disclaimer
instructionsstringOptional

Instructions of the agent.

Example: My agent instructions
modelstring · enumOptional

Model of the agent.

Example: gpt-4oPossible values:
topPnumberOptional

TopP of the agent.

Example: 1
temperaturenumberOptional

Temperature of the agent.

Example: 1
isFileSearchEnabledbooleanOptional

Is file search enabled by default.

Example: false
isCodeInterpreterEnabledbooleanOptional

Is code interpreter enabled by default.

Example: false
fileSearchMaxNumResultsnumberOptional

File search max number of results. Required when isFileSearchEnabled is true.

Default: 10Example: 10
reasoningEffortstring · enumOptional

Reasoning effort of the agent. Required only when mode is reasoning.

Example: mediumPossible values:
isApiSkillEnabledbooleanOptional

Is agent API skill enabled by default.

Example: true
isOutputJsonSchemaEnabledbooleanOptional

Is output JSON schema enabled by default.

Example: false
outputJsonSchemastringRequired

Output JSON schema of the agent.

Example: {"type": "object", "properties": {"name": {"type": "string"}}}
tagsstring[]Required

Tags of the agent.

Example: ["Sales", "Support"]
Responses
post
/external/agents

Get agent roles by organization API key

get

Fetches agent roles by organization API key. The response includes agent roles details.

Authorizations
Organization-Secret-KeystringRequired

Custom authentication header

Responses
get
/external/agent-roles/by-api-key

Last updated