Skip to Content

Public M2M API — agents

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/agents

Exported methods: GET, POST

GET

  • Resource scopes: config:read
  • Response keys observed across outcomes: data, members, teams, usage

POST

  • Resource scopes: config:write
  • Explicit response statuses: 201, 404, 422
  • Explicit error codes: invalid_request, not_found

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
autonomyMatrixobjectYesNo——
businessHoursobjectYesNo——
idstringYesNo——
kbScopeCategoryIdsarrayYesNo——
kbScopeWorkspaceIdstringYesYes——
monthlyAICostCapEURnumberYesNo—min(0)
namestringYesNo—min(1), max(120)
personaobjectYesNo——
persona.agentNamestringNoNo—min(1), max(120)
persona.businessNamestringNoNo—min(1), max(200)
persona.greetingstringNoNo—min(1), max(200)
persona.instructionsstringYesNo—max(4000)
persona.languagestringNoNo—min(2), max(10)
persona.signaturestringNoNo—max(1000)
persona.toneenumNoNoprofessional, friendly, formal—
setDefaultbooleanYesNo——
timezonestringYesNo——

/api/v1/agents/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: config:read
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: agent, kind

PATCH

  • Resource scopes: config:write
  • Path parameters: id
  • Explicit response statuses: 404, 422
  • Explicit error codes: invalid_request, not_found

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
autonomyMatrixobjectYesNo——
businessHoursobjectYesNo——
kbScopeCategoryIdsarrayYesNo——
kbScopeWorkspaceIdstringYesYes——
monthlyAICostCapEURnumberYesNo—min(0)
namestringYesNo—min(1), max(120)
personaobjectYesNo——
persona.agentNamestringNoNo—min(1), max(120)
persona.businessNamestringNoNo—min(1), max(200)
persona.greetingstringNoNo—min(1), max(200)
persona.instructionsstringYesNo—max(4000)
persona.languagestringNoNo—min(2), max(10)
persona.signaturestringNoNo—max(1000)
persona.toneenumNoNoprofessional, friendly, formal—
rolestringYesNo——
setDefaultbooleanYesNo——
timezonestringYesNo——

DELETE

  • Resource scopes: config:write
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: id, kind, ok

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.