AuthSpokeAuthSpoke Developers
Enterprise AI Β· API Reference

AI Compliance

Map controls and evidence to AI compliance frameworks and posture.

GET/api/v1/ai/compliance

List ai compliance

List ai compliance 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.

πŸ”’ Bearer JWT required

Query parameters

pageZero-based page index where supported.
sizePage size where supported.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X GET "https://api.authspoke.com/api/v1/ai/compliance" \
  -H "Authorization: Bearer $TOKEN"

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
POST/api/v1/ai/compliance

Create or run ai compliance

Create or run ai compliance 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.

πŸ”’ Bearer JWT required

Request body

namestringDisplay name or operation name where applicable.
statusstringStatus or lifecycle value where applicable.
reasonstringAudit reason for governed changes.
metadataobjectProvider or business metadata.
configurationobjectConnector, policy, or resource configuration.

Responses

201Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X POST "https://api.authspoke.com/api/v1/ai/compliance" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"example","metadata":{}}'

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
GET/api/v1/ai/compliance/{id}

Get compliance id

Get compliance 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.

πŸ”’ Bearer JWT required

Path parameters

id*id identifier.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X GET "https://api.authspoke.com/api/v1/ai/compliance/{id}" \
  -H "Authorization: Bearer $TOKEN"

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
PUT/api/v1/ai/compliance/{id}

Replace compliance id

Replace compliance 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.

πŸ”’ Bearer JWT required

Path parameters

id*id identifier.

Request body

namestringDisplay name or operation name where applicable.
statusstringStatus or lifecycle value where applicable.
reasonstringAudit reason for governed changes.
metadataobjectProvider or business metadata.
configurationobjectConnector, policy, or resource configuration.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X PUT "https://api.authspoke.com/api/v1/ai/compliance/{id}" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"example","metadata":{}}'

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
DELETE/api/v1/ai/compliance/{id}

Delete compliance id

Delete compliance 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.

πŸ”’ Bearer JWT required

Path parameters

id*id identifier.

Responses

204Deleted or completed with no response body.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X DELETE "https://api.authspoke.com/api/v1/ai/compliance/{id}" \
  -H "Authorization: Bearer $TOKEN"
GET/api/v1/ai/compliance/posture

List compliance posture

List compliance posture 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.

πŸ”’ Bearer JWT required

Query parameters

pageZero-based page index where supported.
sizePage size where supported.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X GET "https://api.authspoke.com/api/v1/ai/compliance/posture" \
  -H "Authorization: Bearer $TOKEN"

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}