AI Agents
Register and manage AI agents as governed identities with computed risk and trust.
/api/v1/ai/agentsList ai agents
List ai agents in the Enterprise AI Control Plane. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.
Query parameters
| page | Zero-based page index where supported. |
| size | Page size where supported. |
Responses
Example request
curl -X GET "https://api.authspoke.com/api/v1/ai/agents" \
-H "Authorization: Bearer $TOKEN"Example response
{
"id": "uuid",
"status": "OK"
}/api/v1/ai/agentsCreate or run ai agents
Create or run ai agents in the Enterprise AI Control Plane. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.
Request body
| name | string | Display name or operation name where applicable. |
| status | string | Status or lifecycle value where applicable. |
| reason | string | Audit reason for governed changes. |
| metadata | object | Provider or business metadata. |
| configuration | object | Connector, policy, or resource configuration. |
Responses
Example request
curl -X POST "https://api.authspoke.com/api/v1/ai/agents" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"example","metadata":{}}'Example response
{
"id": "uuid",
"status": "OK"
}/api/v1/ai/agents/{id}Get agents id
Get agents id in the Enterprise AI Control Plane. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.
Path parameters
| id* | id identifier. |
Responses
Example request
curl -X GET "https://api.authspoke.com/api/v1/ai/agents/{id}" \
-H "Authorization: Bearer $TOKEN"Example response
{
"id": "uuid",
"status": "OK"
}/api/v1/ai/agents/{id}Replace agents id
Replace agents id in the Enterprise AI Control Plane. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.
Path parameters
| id* | id identifier. |
Request body
| name | string | Display name or operation name where applicable. |
| status | string | Status or lifecycle value where applicable. |
| reason | string | Audit reason for governed changes. |
| metadata | object | Provider or business metadata. |
| configuration | object | Connector, policy, or resource configuration. |
Responses
Example request
curl -X PUT "https://api.authspoke.com/api/v1/ai/agents/{id}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"example","metadata":{}}'Example response
{
"id": "uuid",
"status": "OK"
}/api/v1/ai/agents/{id}Delete agents id
Delete agents id in the Enterprise AI Control Plane. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.
Path parameters
| id* | id identifier. |
Responses
Example request
curl -X DELETE "https://api.authspoke.com/api/v1/ai/agents/{id}" \
-H "Authorization: Bearer $TOKEN"