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
backgroundTurnSharedouble or nullOptional<=1

Share of maxConcurrentTurns that background turns may use; omit to keep the current share.

compatibilityProfileIdstring or nullOptional
displayNamestring or nullOptional
endUserCellsboolean or nullOptional

Fixed at creation. Each end user (tenantId, userId) of the agent gets a private cell: their memory, corrections and learning stay theirs. Omit it to keep an existing agent’s choice.

harnessIdstring or nullOptional
initialChannelobjectOptional
maxConcurrentTurnsinteger or nullOptional>=1

Most turns the agent runs at once; omit to keep the current limit.

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