API Description
Retrieve a paginated list of background jobs for GPU instances. You can filter by job ID, state, type, time range, and creators.
Bearer authentication format, for example: Bearer {{API Key}}.
Query Parameters
Maximum number of items returned per page. Integer, value >= 0.
Page number to retrieve. Integer, value >= 0.
Filter by job ID. String, length 0–255.
Filter by job state. One of: pulling (preparing), running, fail, success, break.
Filter by job type. One of: saveImage, instanceMigrate, autoInstanceMigrate.
Start of time range (Unix timestamp in seconds). Integer, value >= 0. Default: 0.
End of time range (Unix timestamp in seconds). Integer, value >= 0. Default: 0.
Filter by creator user ID.
cURL Example
curl --location --request GET 'https://api.novita.ai/gpu-instance/openapi/v1/jobs?pageSize=5&pageNum=1&jobId=&type=&state=&startTime=&endTime=&creators=' \
--header 'Authorization: Bearer {{API_KEY}}'
Response
Job list.
The user ID who initiated the job.
Job type. One of: saveImage, instanceMigrate, autoInstanceMigrate.
Environment variables for the job.
Environment variable name.
Environment variable value.
Current job state information.
Current job state. One of: pulling, running, fail, success, break.
Log URL for viewing job execution logs.
Job creation time (Unix timestamp in seconds).
Associated instance ID when the job was executed.