Dashboard API

Routes that require a Cognito JWT from Architect.

dev · https://api.dev.relay.oprag.ai

These 18 routes are used by Architect and custom review tools. Organization secrets return 401.

Dashboard routes
EndpointCredentialWhat it does
POST /v1/organizationsCognito JWTCreate an organization for the signed-in user who has no tenant yet.
GET /v1/organizations/meCognito JWTReturn the caller's organization.
PATCH /v1/organizations/meCognito JWTReplace the organization display name.
GET /v1/organizations/me/membersCognito JWTList active and invited organization members.
POST /v1/organizations/me/membersCognito JWTInvite a user to the organization by email.
POST /v1/organizations/me/secretsCognito JWTIssue a new organization secret for CLI ingest.
GET /v1/organizations/me/secretsCognito JWTList organization secrets (metadata only — no plaintext).
DELETE /v1/organizations/me/secrets/{secretId}Cognito JWTRevoke an organization secret.
GET /v1/organizations/me/environmentsCognito JWTList developer environments registered for the organization.
GET /v1/organizations/me/environments/{environmentId}Cognito JWTFetch one developer environment by id.
DELETE /v1/organizations/me/environments/{environmentId}Cognito JWTRevoke a developer environment.
GET /v1/agentsCognito JWTList supported agent definitions in the Relay catalog.
GET /v1/organizations/me/agentsCognito JWTList agent installations for the organization.
POST /v1/organizations/me/agentsCognito JWTCreate an agent installation from the dashboard.
PATCH /v1/organizations/me/agents/{installationId}Cognito JWTUpdate an agent installation's version, config, or status.
GET /v1/organizations/me/sessionsCognito JWTList captured sessions for review in Architect.
GET /v1/organizations/me/sessions/{sessionId}Cognito JWTFetch one session with metadata for the review UI.
GET /v1/organizations/me/sessions/{sessionId}/eventsCognito JWTPage through events for a session.

Ready to ship?

Get started free