Skip to content

Inspect authenticated workspace and API key guardrails

GET
/me
curl --request GET \
--url https://app.discotrace.com/api/v1/me \
--header 'Authorization: Bearer <token>'

Requires read scope. Returns workspace metadata, plan tier, credit balance, and active API key scopes and auto-approve limit.

Authenticated workspace and API key metadata.

Structured error payload with remediation link (resolveUrl).

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
retryable
required
boolean
resolveUrl
required
string format: uri
details
object
key
additional properties
any

Example

{
"error": {
"code": "insufficient_scope",
"message": "API key is missing required scope 'run'.",
"retryable": false,
"resolveUrl": "https://app.discotrace.com/w/acme/api"
}
}

Structured error payload with remediation link (resolveUrl).

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
retryable
required
boolean
resolveUrl
required
string format: uri
details
object
key
additional properties
any

Example

{
"error": {
"code": "insufficient_scope",
"message": "API key is missing required scope 'run'.",
"retryable": false,
"resolveUrl": "https://app.discotrace.com/w/acme/api"
}
}