Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"

Authorization
string
header
required

OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"

Path Parameters

agentId
integer<int32>
required

The ID of the agent

versionNumber
integer<int32>
required

The version number to retrieve

Query Parameters

format
enum<string>

Either json (default) or yaml Which shape an agent's content is exchanged in on the agent-content download endpoints (GET {agentId}/content, GET {agentId}/version/{versionNumber}/content). The upload endpoint (POST {agentId}/content) only ever accepts Sequentum.Enterprise.ControlCenter.AgentContentFormat.Json. (0 = Json; 1 = Yaml)

Available options:
json,
yaml

Response

The agent's content at the requested version

An agent's content, returned by the agent-content download endpoints - either the latest version or a specific historical one.

agentId
integer<int32>

The ID of the agent this content belongs to.

version
integer<int32>

The version number of this content, matching the requested version, or the agent's latest version if none was requested.

validationStatus
enum<integer>

Semantic validation status of a config's most recently saved definition (e.g. whether every fixed export schema column is actually produced by a command). Serialized as its underlying int, not a string - see Sequentum.Enterprise.ControlCenter.Swagger.EnumDescriptionsSchemaFilter for how these values get documented in the public OpenAPI spec. (1 = Unknown - Validation status was not computed for this response (e.g. a historical config version, which does not retain its own stored status); 2 = Invalid - The config has one or more semantic validation errors (e.g. a required export column with no producing command); 3 = Valid - The config has no semantic validation errors)

Available options:
1,
2,
3
content
any | null

The agent's content. A JSON object holding the canonical config when format=json (the default), or a plain-text NestedText string when format=yaml - see the format query parameter on this endpoint.