HTTP reference #
Generated from the service app (tensorchain.service.app.create_app). Every /v1 call needs Authorization: Bearer <key>; a refusal is HTTP 4xx with {"code", "message"} (409 for outcome_unknown). The workspace verbs sit under /v1/workspaces/{id}/<verb>: GET for reads, POST for mutations, the same names as the SDK.
| method | path | what it does |
|---|---|---|
| GET | /healthz | - |
| GET | /v1/describe | - |
| POST | /v1/inputs | - |
| POST | /v1/keys/rotate | Issue the calling key's successor (same tenant, plan and scopes); the raw key is in this answer only. The old key stays valid for its plan's grace period (K1). |
| GET | /v1/keys/self | The calling key: id, tenant, plan, scopes, state, expiry, when to rotate it, its successor (K1). |
| POST | /v1/programs | - |
| GET | /v1/provenance/audit | - |
| GET | /v1/provenance/datasets | - |
| POST | /v1/provenance/datasets | - |
| GET | /v1/provenance/impact | - |
| POST | /v1/provenance/ingest | - |
| POST | /v1/provenance/licences | - |
| GET | /v1/provenance/models | - |
| POST | /v1/provenance/models | - |
| POST | /v1/provenance/revocations | - |
| GET | /v1/provenance/sources | - |
| POST | /v1/provenance/sources | - |
| GET | /v1/provenance/verify/{root} | - |
| POST | /v1/recall | - |
| POST | /v1/runs | - |
| GET | /v1/runs/{run_id} | - |
| POST | /v1/session/end | - |
| POST | /v1/session/start | - |
| GET | /v1/usage | The caller's own metered totals for today (UTC) and its remaining allowance (L1). |
| GET | /v1/workspaces | - |
| POST | /v1/workspaces | - |
| GET | /v1/workspaces/{wid}/{verb} | - |
| POST | /v1/workspaces/{wid}/{verb} | - |