Skip to main content
POST
Lease the credentials a local run needs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Ask for the credentials a run the caller is executing needs, for the harness it names.

harness
enum<string>
required
Available options:
codex,
opencode,
pi,
fx,
claude,
gemini,
qwen,
cursor,
command
id
string
required

Response

Credentials for one run, held in memory and never written down. Short-lived: start another run rather than keeping these.

Credentials for one run, held in memory and never written down. Short-lived: start another run rather than keeping these.

expiresAt
string
required

a string to be decoded into a DateTime.Utc

values
object
required