Create an Agent (Project-owned or ExternalUser-owned)
Developer
Create an Agent (Project-owned or ExternalUser-owned)
Which kind of Agent gets created depends on the credential’s asserted identity: a bare Project credential creates a Project-owned Agent; pairing it with x-persona-external-user-id creates an Agent owned by that external user.
POST
Create an Agent (Project-owned or ExternalUser-owned)
Authorizations
Developer Platform Project credential, minted via POST /api/v1/projects/{projectId}/credentials. Send as Authorization: Bearer <keyId>.<secret>. Optionally pair with the x-persona-external-user-id header to act on behalf of one of the Project's own external users. This credential is a server-side secret — see the Integration Guide.
Body
application/json
The body is of type object.
Response
Agent created