Skip to navigation

Create Managed Agent

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_idstringRequired

Request

This endpoint expects an object.
agentSlugstringRequired
activeHarnessVersionIdstring or nullOptional
compatibilityProfileIdstring or nullOptional
displayNamestring or nullOptional
harnessIdstring or nullOptional
initialChannelobjectOptional
personalboolean or nullOptional

Fixed at creation; new agents are shared unless set. A personal agent’s conversations stay private to the person who runs them. Omit it to keep an existing agent’s choice.

sourceobject or nullOptional
statusenumOptionalDefaults to active
Allowed values:

Response

Successful Response
managedAgentmap from strings to any
definitionRevisionobject or nullOptional
A draft revision staged by agent creation. Get the revision to see its changes.
harnessVersionmap from strings to any or nullOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error