dreamwork_
Back to Agents overview

Start

Authentication

Keys represent a single candidate, carry the scopes they were given, and inherit that candidate's limits, access tier, and feature flags.

Keys

Candidate-scoped bearer auth

An API key represents one human candidate. It inherits that candidate's plan, access limits, profile readiness, and feature flags. Never expose a key in browser code.

header
Authorization: Bearer sk_live_dw_xxxxxxxxxxxxxxxxxxxxxxxx

Scopes

A key can do less than its owner

Every key carries a subset of read, write, apply, and send, picked when the candidate generates it, and each one gates every path to the act rather than the tool that names it. Write is the floor for changing anything: a key without it is refused on any request that is not a GET, so a read key cannot rewrite a profile or move the board by calling the route directly. A key without apply cannot submit an application, cancel one in flight, or change Autopilot. A key without send cannot mail a recruiter. A call missing a scope answers 403 with api_key_scope_required, the scope it wants, and what to do about it, before the handler runs. No key can manage keys, rotate the session token, or delete the account. The profile page preselects all four scopes; a key request that names no scopes gets read and write.

API keys are created, scoped, and rotated under Profile, then MCP. Scopes are fixed when the key is made: changing them means revoking it and generating another. The public docs intentionally keep key lifecycle details in the product UI so candidates do not need to manage keys through raw HTTP calls.
Session cookies are only for first-party Dreamwork UI routes. Agents and server-to-server clients should use bearer keys.