Skip to main content
GET
Get Agent

Authorizations

Authorization
string
header
required

JWT token obtained through Barndoor's OAuth 2.0 authorization-code flow with PKCE.

The token should be included in the Authorization header: Authorization: Bearer <your-jwt-token>

Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.

Path Parameters

agent_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
organization_id
string<uuid>
required
application_directory_id
string<uuid>
required
application_directory
AgentDirectoryBase · object
required
agent_type
enum<string>
required
read-only

Determine agent type based on application directory properties.

Available options:
internal,
external