Skip to main content

Control-plane API endpoints

This page lists the control-plane routes that the Verdictan docs describe. For each route, Schema opens its parameters, request body fields, and responses on the Route schemas page, and Task page opens the page that gives the procedure and the limits.

Send each request to the API host of your organization's region. Use a bearer token on organization-scoped routes. The Verdictan API overview gives the credential rules, the error envelope, and the pagination rules.

RegionAPI hostOpenAPI document
EUhttps://api.eu.verdictan.comapi.eu.verdictan.com/v1/openapi.json
UShttps://api.us.verdictan.comapi.us.verdictan.com/v1/openapi.json

The OpenAPI 3.1 document has every public route and nested schema. Load it into an OpenAPI viewer or a client generator to browse it. To find the permission that a route needs, use the Permissions reference.

Identity and tokens​

RouteOperationSchemaTask page
GET /v1/whoamiReturns the organization, roles, teams, and effective permissions of the credentialSchemaverdictan auth
GET /v1/tokensLists API tokensSchemaManage API tokens
POST /v1/tokensCreates an API token. The response shows the secret one time.SchemaManage API tokens
DELETE /v1/tokens/{id}Revokes an API tokenSchemaManage API tokens
POST /v1/tokens/exchange-codeChanges a PKCE authorization code into one minimum-privilege API tokenSchemaverdictan auth

OAuth​

RouteOperationSchemaTask page
POST /v1/oauth/tokenExchanges an authorization code or a refresh token for an access tokenSchemaOAuth clients
POST /v1/oauth/revokeRevokes an access token or a refresh tokenSchemaOAuth clients

The browser starts authorization at the Console /oauth/authorize route. The API route GET /v1/oauth/authorize is retired.

Agents and gateways​

RouteOperationSchemaTask page
GET /v1/agentsLists the agents that the credential can access, with cursor paginationSchemaVerdictan API overview
POST /v1/agents/{id}/provider-key-access/bindingsAttaches a role to the provider key access of an agentSchemaConnect a model provider
POST /v1/agents/{id}/provider-key-access/simulationsEvaluates provider key authorization for an agentSchemaConnect a model provider
DELETE /v1/agents/{id}/provider-key-access/bindings/{role_id}Removes a role from the provider key access of an agentSchemaConnect a model provider
GET /v1/gatewaysLists the gateways that the control plane knowsSchemaverdictan gateway
POST /v1/gateways/{id}/machine-tokenRotates the gateway token of a connected gatewaySchemaManage gateways

Configuration templates​

RouteOperationSchemaTask page
GET /v1/templatesLists configuration templatesSchemaverdictan init
GET /v1/templates/{id}Returns one template with its starter configurationSchemaverdictan init

Events and evidence​

RouteOperationSchemaTask page
GET /v1/eventsQueries governance events. The since parameter is necessary.Schemaverdictan events
GET /v1/exports/jobs/{job_id}/manifestReturns the evidence manifest of a completed export jobSchemaExport evidence for a review

AI usage streaming​

RouteOperationSchemaTask page
GET /v1/ai-usage-stream/delivery-healthReturns the delivery health of each destinationSchemaAI usage SIEM streaming
GET /v1/ai-usage-stream/destinations/{id}/delivery-statusReturns the most recent delivery attempts of one destinationSchemaAI usage SIEM streaming

Context Fabric​

RouteOperationSchemaTask page
POST /v1/context/registerRegisters or updates the session of the authenticated userSchemaContext Fabric lifecycle
POST /v1/context/shareShares a context documentSchemaContext Fabric lifecycle
POST /v1/context/searchSearches the authorized context scopeSchemaContext Fabric lifecycle
GET /v1/context/recentLists recent context for a bounded scopeSchemaContext Fabric lifecycle
POST /v1/context/verification/applyApplies verification outcomes to documents in scopeSchemaContext Fabric lifecycle
POST /v1/work-receiptsRecords a work receiptSchemaContext Fabric lifecycle
POST /v1/work-receipts/searchFinds work receipts in scopeSchemaContext Fabric lifecycle
POST /v1/context-flushCondenses session context into a recall documentSchemaContext Fabric lifecycle
DELETE /v1/context/by-user/{id}Starts the destructive purge of the context of one userSchemaContext Fabric lifecycle

The lifecycle page lists the other context search, graph, and correction routes.

Discovery and health​

RouteOperationSchemaTask page
GET /v1/openapi.jsonReturns the OpenAPI 3.1 document of the active APISchemaVerdictan API overview
GET /v1/healthReturns the liveness state of the versioned APISchemaverdictan doctor
GET /healthzReturns the liveness state of the API processSchemaVerdictan API overview
GET /readyzReturns the readiness state of the API dependenciesSchemaVerdictan API overview

Limits​

  • This page is not a complete list of the routes in the OpenAPI document. A route in the OpenAPI document does not show that the route is available to your organization or your role.
  • Routes with the /v1/gateway/ prefix use gateway tokens. Do not call them from a customer application.
  • Do not infer a route from a Console URL or a generated client name.

Next steps​