TESSEN Platform
Documentation
Docs/Execution API (preview)
EXECUTION API (PREVIEW)

API Keys

Keys are created and revoked by a person in a browser, never by a program. This resource is documented so the boundary is visible, not so it can be automated.

PreviewPreview: part of the execution API, not the Tessen API at api.tessen.ai.
Note

This is the execution API of the Tessen web application at https://tessen.ai, in preview. It is a different API from the Tessen API at https://api.tessen.ai/v1.

GET /api/keys

GET/api/keys

List your keys. Prefixes only — the secret is never returned again.

Limit

Session cookie only. An API key is refused regardless of scope: A key cannot mint or manage a key, so a leaked one cannot bootstrap a stronger one.

StatusWhen
401Not signed in, or a key was presented instead of a session.

POST /api/keys

POST/api/keys

Create a key. The plaintext secret is returned exactly once.

Limit

Session cookie only. An API key is refused regardless of scope: A key cannot mint or manage a key, so a leaked one cannot bootstrap a stronger one.

StatusWhen
401Not signed in, or a key was presented instead of a session.
Note

The secret begins tsn_cloud_ and is shown once. Tessen stores a hash; there is no endpoint that can return it again, and nobody at Tessen can read it.

DELETE /api/keys

DELETE/api/keys

Revoke a key.

Limit

Session cookie only. An API key is refused regardless of scope: A key cannot mint or manage a key, so a leaked one cannot bootstrap a stronger one.

StatusWhen
401Not signed in, or a key was presented instead of a session.
Note

Revoking a key that is not yours answers the same way as revoking one that does not exist — probing reveals nothing.

Search documentation

Titles, headings and guides↑ ↓ navigate · Enter open