Read an Agent's external execution status
PreviewConfigure agents, harnesses, capabilities, skills and channels. Manage keys, triggers and recorded changes.
/v1/agents/{agent_id}/external-workerSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
200
An Agent’s external-agent state, plus whether this installation lets it connect one.
object
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.
The connected (or disconnected) endpoint, if one was ever registered.
object
Whether this binding can lease new work. Disabled bindings retain routing.
Verified public HTTPS URL that receives signed invocation requests.
Sanitized dispatch error, cleared after a successful invocation or registration.
Time of the latest invocation attempt, if any.
Example
{ "endpoint": { "endpoint_url": "https://sales.example.workers.dev/" }}