Skip to main content
GET
Get agent auth status

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header. Two token types are accepted:

  • Organization API key (sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use.
  • User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at /.well-known/oauth-authorization-server and the protected-resource metadata at /.well-known/oauth-protected-resource/api.

Path Parameters

encodedUrl
string
required

URL-encoded agent URL

Response

Auth status

has_auth
boolean
required
agent_context_id
string | null
required
auth_type
enum<string> | null
required
Available options:
bearer,
basic,
oauth,
oauth_client_credentials,
null
has_oauth_token
boolean
required
has_valid_oauth
boolean
required
oauth_token_expires_at
string | null
required
has_oauth_client_credentials
boolean
required