Create a new agent version
POST /api/v1/agent_version
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
A valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent schema version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyNull
object
List of package name and version strings (e.g. “package@1.0.0”)
Null
List of package name and version strings (e.g. “package@1.0.0”)
Null
Null
Responses
Section titled “ Responses ”Success
object
object
A valid account ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent schema version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyAgent deployments that pin this version as their current version (empty if none).
External identifier for the agent version
Example
v1.0.0Count of rows sharing this external identifier (helps distinguish duplicates).
A valid agent version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyWhen the agent version was created
Example
2024-01-01T00:00:00Zobject
List of package name and version strings (e.g. “package@1.0.0”)
Null
List of package name and version strings (e.g. “package@1.0.0”)
Null
Null
Type of resource (always ‘agent_version’)
Example
agent_versionWhen the agent version was last updated
Example
2024-01-01T00:00:00ZExample
successdefault
Section titled “default ”Error
object
Example
bad_requestExample
errorobject
Example
validation_errorsExample
error