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.
Read the caller identity
Read the workspace schema
Authentication, errors, and pagination
Use the TypeScript SDK
Download the OpenAPI contract for the workspace data, schema, memory, review, and file operations in this reference.