Skip to Content
Open Retainer

REST API quickstart

Verify a workspace API key and use the generated Retainer REST reference.

Make your first request

Use a workspace API key. For hosted Retainer, create one in Settings → Agents. For a self-hosted instance, see workspace keys. Store the key in RETAINER_API_KEY before running the request.

curl https://retainer.tamloot.cc/v1/me \
  -H "Authorization: Bearer ${RETAINER_API_KEY}"

Check the workspace, actor, and scopes in the response. Then read the workspace schema before building queries or sending field values. Retainer accepts the API field names from that schema.

Download the OpenAPI contract for the workspace data, schema, memory, review, and file operations in this reference.

On this page