For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resources

Cedana API for resources

Get clusters total count

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Total count retrieved successfully

application/json
total_countinteger · int64Required
get/v2/cluster/count

List jobs

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns jobs

application/json
agestringRequired
completionsinteger · nullableOptional
durationstring · nullableOptional
idstring · uuidRequired
monitored_by_policiesstring[]Required
namestringRequired
namespacestringRequired
pod_idsstring[]Required
policy_countinteger · int64Required
priorityinteger · nullableOptional
start_timestring · nullableOptional
statusstringRequired
get/v2/jobs

Get total count of jobs

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Total count retrieved successfully

application/json
total_countinteger · int64Required
get/v2/jobs/count
get
Query parameters
priorityinteger · nullableOptional
namespacestring · nullableOptional
statusstring · nullableOptional
Responses
200

List of jobs with applied filters

application/json
available_prioritiesinteger · int32[]Required
total_countinteger · int64Required
get/v2/jobs/filter

Get job namespaces

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Available namespaces retrieved successfully

application/json
namespacesstring[]Required
get/v2/jobs/namespaces

List jobs (paginated)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · nullableOptional
offsetinteger · nullableOptional
sortstring · nullableOptional
ascendingboolean · nullableOptional
statusstring · nullableOptional
namespacestring · nullableOptional
job_namestring · nullableOptional

job name to query against (uses postgres ILIKE pattern search)

Responses
200

Returns paginated jobs with total count and available filters

application/json
total_countinteger · int64Required
get/v2/jobs/paginated

Get available job priorities with counts

get
Authorizations
Responses
200

Job priorities retrieved successfully

application/json
prioritiesinteger · int32[]Required
get/v2/jobs/priorities
get
Path parameters
priorityinteger · int32Required

Priority value to filter jobs by

Responses
200

List of jobs filtered by priority

application/json
total_countinteger · int64Required
get/v2/jobs/priority/{priority}

Get job statuses

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Available statuses retrieved successfully

application/json
statusesstring[]Required
get/v2/jobs/statuses
get
Path parameters
job_idstring · uuidRequired

Job ID to get pods for

Responses
200

List of pods managed by the job

application/json
job_idstring · uuidRequired
job_namestringRequired
total_countinteger · int64Required
get/v2/jobs/{job_id}/pods

List nodes

get

Will only return nodes from clusters with status 'active' if no params are provided. Also, nodes with last_sync older than 5 minutes are not returned.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idstring · nullableOptional
Responses
200

Returns nodes

application/json
cluster_namestringRequired
compute_typestringRequired
idstring · uuidRequired
instance_typestringRequired
namestringRequired
regionstringRequired
statusstringRequired
get/v2/nodes

Get nodes total count

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Total count retrieved successfully

application/json
total_countinteger · int64Required
get/v2/nodes/count

List pods

get

Will not return pods with status 'deleted', and only from clusters with status 'active' and pods belonging to nodes whose last_sync is within the last 5 minutes.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idstring · nullableOptional
Responses
200

Returns pods

application/json
agestringRequired
idstring · uuidRequired
monitored_by_policiesstring[]Required
namestringRequired
namespacestringRequired
nodestringRequired
readystringRequired
restartsinteger · int32Required
start_timestring · nullableOptional
statusstringRequired
get/v2/pods

Get total count of pods

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Total count retrieved successfully

application/json
total_countinteger · int64Required
get/v2/pods/count

List pod namespaces

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns distinct pod namespaces

application/json
namespacesstring[]Required
get/v2/pods/namespaces

List pods (paginated)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idstring · nullableOptional
limitinteger · nullableOptional
offsetinteger · nullableOptional
sortstring · nullableOptional
ascendingboolean · nullableOptional
statusstring · nullableOptional
namespacestring · nullableOptional
pod_namestring · nullableOptional

pod name to query against (uses postgres ILIKE pattern search)

Responses
200

Returns paginated pods with total count and available filters

application/json
total_countinteger · int64Required
get/v2/pods/paginated

List pod statuses

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns distinct pod statuses

application/json
statusesstring[]Required
get/v2/pods/statuses

Last updated

Was this helpful?