Skip to content

List agent versions

GET
/api/v1/agent_version
agent_id
required
Agent_Id

A valid agent ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
idempotency_key
One of:

Optional idempotency key for ensuring request idempotency

string
sorting
string

Sort order; a field name, optionally prefixed with - for descending (e.g. -created_at).

pagination[offset]
integer

Zero-based offset of the first item to return.

pagination[page_size]
integer
>= 1 <= 100

Number of items to return per page (1-100).

Success

object
pagination
One of:
PaginationOutput

Pagination information

object
item_count

The total number of items

integer
item_end

The index of the last item in the page (one-based)

integer
item_start

The index of the first item in the page (one-based)

integer
next_page_offset
One of:

The offset of the next page (null if last page)

integer
page_count

The total number of pages

integer
page_index

The index of the current page (one-based)

integer
page_offset

The offset of the first item in the page (zero-based)

integer
page_size

The number of items per page

integer
previous_page_offset
One of:

The offset of the previous page (null if first page)

integer
Example
{
"item_count": 200,
"item_end": 100,
"item_start": 91,
"next_page_offset": 110,
"page_count": 20,
"page_index": 10,
"page_offset": 90,
"page_size": 10,
"previous_page_offset": 80
}
sorting
One of:
Sorting

Sorting information

object
direction

The direction to sort by

string
Allowed values: asc desc
Example
asc
field

The field to sort by (values depend on the type of list)

string
Allowed values: id last_seen status title timestamp started_at finished_at email name external_identifier
Example
id
status
string
Allowed values: success
Example
success
summaries
Array<object>
AgentVersion_Summary
object
account_id
Account_Id

A valid account ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
agent_id
Agent_Id

A valid agent ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
agent_schema_version_id
AgentSchemaVersion_Id

A valid agent schema version ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
current_agent_deployment_refs

Agent deployments that pin this version as their current version (empty if none).

Array<string>
external_identifier

External identifier for the agent version

string
Example
v1.0.0
external_identifier_repeats

Count of rows sharing this external identifier (helps distinguish duplicates).

integer
id
AgentVersion_Id

A valid agent version ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
inserted_at

When the agent version was created

string format: date-time
Example
2024-01-01T00:00:00Z
observed_classification
One of:

Observed highest classification level from actual executed spans (null if no spans have executed).

string
Allowed values: unknown public internal confidential restricted secret
Example
internal
theoretical_classification
One of:

Theoretical highest classification level based on schema-defined scope and data categories (null if not assessed).

string
Allowed values: unknown public internal confidential restricted secret
Example
confidential
type

Type of resource (always ‘agent_version’)

string
Allowed values: agent_version
Example
agent_version
updated_at

When the agent version was last updated

string format: date-time
Example
2024-01-01T00:00:00Z

Error

One of:
object
code
string
Allowed values: bad_request bad_authtoken not_authenticated not_permitted not_implemented unknown not_found unexpected_ref_type unexpected invalid_action invalid_value required_value idempotency_key_already_used
Example
bad_request
message
string
status
string
Allowed values: error
Example
error