Skip to content
Docs
GitHub

Read an Agent's external execution status

Preview

Configure agents, harnesses, capabilities, skills and channels. Manage keys, triggers and recorded changes.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/agents/{agent_id}/external-worker

See authentication for credentials and permissions.

agent_id
required
string

Responses

200
Media typeapplication/json

An Agent’s external-agent state, plus whether this installation lets it connect one.

object
available
required

Whether a new endpoint can be connected here: the installation sets EXTERNAL_AGENTS_ENABLED=true and protected worker ingress is off. The UI hides the setup when this is false and no endpoint exists.

boolean
endpoint
One of:

The connected (or disconnected) endpoint, if one was ever registered.

object
enabled
required

Whether this binding can lease new work. Disabled bindings retain routing.

boolean
endpoint_url
required

Verified public HTTPS URL that receives signed invocation requests.

string
last_error

Sanitized dispatch error, cleared after a successful invocation or registration.

string | null
last_invoked_at

Time of the latest invocation attempt, if any.

string | null format: date-time

Example

{
"endpoint": {
"endpoint_url": "https://sales.example.workers.dev/"
}
}