Job routes
Job submission, status and history.
Requires team capability jobs.action. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
x-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
application/json- body
ids*array<>1 <= itemsaction*string"start""stop""restart"Default Response
curl -X POST 'https://your-app-node-url/auth/jobs/action' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "ids": [ "6e0346a3-e54d-40e3-9779-4ba1e707e35b" ], "action": "start"}'Requires team capability jobs.read. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
search?stringtype?|array<>status?|array<>sort?string"newest""oldest""name_az""status"offset?integer0 <= valuelimit?integer1 <= valueoverwrite_cache?booleanx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X GET 'https://your-app-node-url/v1/auth/jobs' \ -H 'ttr-token: <session-token>'Requires team capability jobs.create. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
x-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
application/json- body
name?stringtags?array<string>location?stringtype?"GPU_CONTAINER""GPU_CONTAINER"cost_limit?numberalerts?notification_preferences?params*gpu?Default Response
curl -X POST 'https://your-app-node-url/v1/auth/jobs' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "tags": [ "string" ], "location": "string", "type": "GPU_CONTAINER", "gpu": { "type": "string", "count": 0, "cpu_cores_per_gpu": 1, "mem_gb_per_gpu": 1 }, "params": { "base_image": "string" }}'Requires team capability jobs.read. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringoverwrite_cache?booleanx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X GET 'https://your-app-node-url/auth/job/string' \ -H 'ttr-token: <session-token>'Requires team capability jobs.action. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X POST 'https://your-app-node-url/auth/job/string' \ -H 'ttr-token: <session-token>'Requires team capability jobs.update. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
application/json- body
name*stringDefault Response
curl -X PATCH 'https://your-app-node-url/auth/job/string' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Requires team capability jobs.delete. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X DELETE 'https://your-app-node-url/auth/job/string' \ -H 'ttr-token: <session-token>'Requires team capability jobs.action. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringreplicaId*stringx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X POST 'https://your-app-node-url/auth/job/string/replica/string' \ -H 'ttr-token: <session-token>'Requires team capability jobs.delete. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringreplicaId*stringx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X DELETE 'https://your-app-node-url/auth/job/string/replica/string' \ -H 'ttr-token: <session-token>'Requires team capability jobs.read. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringoverwrite_cache?booleanx-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X GET 'https://your-app-node-url/auth/job/string/status-flow' \ -H 'ttr-token: <session-token>'Requires team capability jobs.create. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
x-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
application/json- body
name?stringtags?array<string>location?stringtype?"GPU_CONTAINER""GPU_CONTAINER"cost_limit?numberalerts?notification_preferences?params*gpu?Default Response
curl -X POST 'https://your-app-node-url/v1/auth/jobs/validate' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "tags": [ "string" ], "location": "string", "type": "GPU_CONTAINER", "gpu": { "type": "string", "count": 0, "cpu_cores_per_gpu": 1, "mem_gb_per_gpu": 1 }, "params": { "base_image": "string" }}'Requires team capability jobs.create. Acts on the team in the X-Team-Id header. If omitted, the caller's only team membership is used.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
name*string1 <= length <= 63x-team-id?stringTeam to act on. Required only when the caller belongs to more than one team.
Default Response
curl -X GET 'https://your-app-node-url/v1/auth/endpoints/availability?name=string' \ -H 'ttr-token: <session-token>'Requires platform admin.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
teamId?string1 <= lengthdryRun?booleanjobIds?array<>1 <= items <= 500Default Response
curl -X POST 'https://your-app-node-url/v1/admin/jobs/backfill-team' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'