Get a coding agent session

Required scope: command_coding_agent_sessions:read

Returns the full record for a single coding agent session. Its status moves from launching to active, then to completed or failed. The gid of anything that isn't a coding agent session on a ticket or to-do returns 404.

🚧

Early Access

Command endpoints are in early access and the interface is subject to change. For updates, please refer to our API Changelog.

📘

Command license required

To use these endpoints, you need a Command license. Learn what Command includes

Path Params
string
required

Globally unique identifier for the Command coding agent session.

Query Params
opt_fields
array of strings

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. Properties can include nested fields. To learn more, see the input/output options guide.

opt_fields
boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json