/v1/api-keyslistApiKeys
Cursor page without secret material
- Idempotency
- Not declared for this operation
- Request
- No required JSON body
- Scope
- Not declared per-operation in OpenAPI
200Cursor page without secret materialLOADING DOCUMENTATION
Documentation content remains server-rendered and crawlable; this state appears only while a route segment resolves.
OPENAPI 3.1.0
Vira Behavior API v0.1.0. Endpoint inventory, request schemas, response contracts, idempotency requirements, and deprecation state are read directly from the repository OpenAPI document.
AUTHORITY NOTE
The current OpenAPI document does not declare exact security scopes per operation. Runtime/control capability remains enforced by the API implementation and issued key policy. This reference therefore does not invent a scope label.
Read authentication & key guidance →EXAMPLE
Placeholder credentials and IDs only. The body mirrors the required fields in the repository ResolveRequest schema.
curl -X POST "$VIRA_API_URL/v1/behavior/resolve" \
-H "Authorization: Bearer <runtime-key>" \
-H "Idempotency-Key: <stable-request-id>" \
-H "Content-Type: application/json" \
-d '{
"projectId": "<project-uuid>",
"applicationId": "<application-uuid>",
"environment": "production",
"behaviorPoint": "support.decision",
"subjectId": "<application-subject-id>",
"provider": "openai",
"signals": { "issue_type": "delivery" }
}'RESOURCE
/v1/api-keysCursor page without secret material
200Cursor page without secret material/v1/api-keysDigest-backed API key; plaintext appears only on first execution
200Digest-backed API key; plaintext appears only on first execution/v1/api-keys/{keyId}/rotateAtomic replacement and revocation; plaintext appears only on first execution
200Atomic replacement and revocation; plaintext appears only on first execution/v1/api-keys/{keyId}/revokeIdempotent API key revocation
200Idempotent API key revocationRESOURCE
/v1/applicationsCursor page of project applications
200Cursor page of project applications/v1/applicationsIdempotent tenant-scoped application creation
200Idempotent tenant-scoped application creationRESOURCE
/v1/approvalsProject-scoped approval queue
200Project-scoped approval queue/v1/approvalsImmutable action-bound approval request
200Immutable action-bound approval request/v1/approvals/{requestId}Exact approval request and decision
200Exact approval request and decision404Approval not found/v1/approvals/{requestId}/decideAction/revision-bound approval decision
200Action/revision-bound approval decision409Approval expired, stale, or already settledRESOURCE
/v1/artifactsCursor page of artifact metadata, digest, lineage, classification, and retention
200Cursor page of artifact metadata, digest, lineage, classification, and retentionRESOURCE
/v1/auditCursor page of immutable project audit events
200Cursor page of immutable project audit eventsRESOURCE
/v1/behavior/resolveExact resolved revision with served deployment identity and optional exact shadow execution plan
200Exact resolved revision with served deployment identity and optional exact shadow execution planRESOURCE
/v1/behavior-points/discoverHuman-approval-required Behavior Point proposals from undeclared traces
200Human-approval-required Behavior Point proposals from undeclared traces/v1/behavior-pointsCursor page of declared behavior points
200Cursor page of declared behavior points/v1/behavior-points/{key}Declared Behavior Point with tenant-scoped metadata
200Declared Behavior Point with tenant-scoped metadata404Behavior Point not foundRESOURCE
/v1/behaviorsCursor page of behavior profiles and exact revision state
200Cursor page of behavior profiles and exact revision state/v1/behaviors/{profileId}/revisionsImmutable exact revision history for one behavior profile
200Immutable exact revision history for one behavior profile/v1/behaviors/{profileId}/diffDeterministic diff between two exact behavior revisions
200Deterministic diff between two exact behavior revisions/v1/behaviors/{candidateId}/publishImmutable behavior revision and exact deployment event
200Immutable behavior revision and exact deployment event409Candidate did not pass the publication authority gate/v1/behaviors/{profileId}/rollbackNew deployment event targeting an existing exact revision
200New deployment event targeting an existing exact revisionRESOURCE
/v1/candidates/compileCandidate
200Candidate/v1/candidates/{candidateId}Project-scoped candidate
200Project-scoped candidate/v1/candidates/{candidateId}Updated draft candidate
200Updated draft candidate409Candidate is no longer editable/v1/candidatesDraft behavior candidate
200Draft behavior candidateRESOURCE
/v1/client-tokensShort-lived application-bound feedback and Teach token
200Short-lived application-bound feedback and Teach tokenRESOURCE
/v1/deploymentsCursor page of immutable deployment events
200Cursor page of immutable deployment events/v1/deploymentsDeployment
200Deployment/v1/deployments/{deploymentId}Rollout retired with an audit event
200Rollout retired with an audit event/v1/deployments/canary-healthDeprecatedLegacy caller-supplied rollout decision
200Legacy caller-supplied rollout decision/v1/deployments/{deploymentId}/comparisonsImmutable deployment-scoped comparison event
200Immutable deployment-scoped comparison event409Comparison conflicts with exact rollout authority/v1/deployments/{deploymentId}/authoritative-healthHealth decision computed from stored comparison events
200Health decision computed from stored comparison events409Rollout baseline or comparison state drifted503PostgreSQL authority requiredRESOURCE
/v1/documentsDurable artifact and human-review-required candidate suggestion
200Durable artifact and human-review-required candidate suggestionRESOURCE
/v1/evaluationsEvaluation result
200Evaluation result/v1/evaluations/{candidateId}Evaluation
200Evaluation/v1/evaluations/{evaluationId}Project-scoped evaluation run
200Project-scoped evaluation runRESOURCE
/v1/exports/training-dataImmutable, revision-linked SFT, preference, and evaluation dataset artifact
200Immutable, revision-linked SFT, preference, and evaluation dataset artifactRESOURCE
/v1/feedbackFeedback accepted
200Feedback acceptedRESOURCE
/v1/integrations/otelMapped trace
200Mapped traceRESOURCE
/v1/membersCursor page of project members and roles
200Cursor page of project members and roles/v1/membersIdempotent member creation or role update
200Idempotent member creation or role updateRESOURCE
/v1/outcomesOutcome accepted
200Outcome acceptedRESOURCE
/v1/privacy/jobsIdempotent BullMQ privacy operation
200Idempotent BullMQ privacy operation/v1/privacy/jobs/{jobId}Project-scoped privacy job state and completion receipt
200Project-scoped privacy job state and completion receiptRESOURCE
/v1/projects/{projectId}Tenant-scoped project metadata
200Tenant-scoped project metadataRESOURCE
/healthAPI process is alive
200API process is alive/readyAuthoritative persistence is ready
200Authoritative persistence is ready503Authoritative persistence is unavailableRESOURCE
/v1/teachEvidence accepted
200Evidence accepted/v1/teach/inboxCursor page
200Cursor page/v1/teach/suggestionsPattern suggestions
200Pattern suggestionsRESOURCE
/v1/tracesCursor page
200Cursor page/v1/tracesTrace accepted
200Trace acceptedRESOURCE
/v1/usageCursor page of immutable usage events and deterministic totals
200Cursor page of immutable usage events and deterministic totals