statusquery · OptionalList Tasks
/api/v1/tasksAuthentication · x-api-key
List the current user's tasks, optionally filtered by status / providerCode / appSlug. Keyset pagination is the default; pass `nextCursor` back as `cursor`. Legacy offset pagination requires `cursorMode=false` and is capped at offset 10000.
Request
providerCodequery · OptionalmodelCodequery · OptionalfeatureCodequery · OptionaldateFromquery · OptionaldateToquery · OptionalappSlugquery · Optionaltagquery · Optionallimitquery · OptionalMaximum number of items to return.
Minimum: 1. Maximum: 50. Default: 20.offsetquery · OptionalZero-based pagination offset.
Minimum: 0. Maximum: 10000. Default: 0.cursorModequery · Optionalcursorquery · OptionalResponses
200 OK
application/json
Unknown fields are not accepted.
-
Response 200 ·
itemsRequiredarray<object>1 field
-
Response 200 ·
items[]Each itemobjectUnknown fields are not accepted.
22 fields
-
Response 200 ·
items[].createdAtRequiredDate | string | numberTask creation timestamp
Must match at least one alternative.
4 fields / alternatives
-
Response 200 ·
items[].createdAt · anyOf 1AlternativeDateTask creation timestamp
-
Response 200 ·
items[].createdAt · anyOf 2AlternativestringFormat: date-time.
-
Response 200 ·
items[].createdAt · anyOf 3AlternativestringFormat: date.
-
Response 200 ·
items[].createdAt · anyOf 4Alternativenumber
-
-
Response 200 ·
items[].creditsChargedRequirednumber | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].creditsCharged · anyOf 1AlternativenumberCredits actually charged
Minimum: 0.
-
Response 200 ·
items[].creditsCharged · anyOf 2Alternativenull
-
-
Response 200 ·
items[].creditsRequiredRequirednumberCredits deducted to start the task
Minimum: 0.
-
Response 200 ·
items[].errorMessageRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].errorMessage · anyOf 1AlternativestringError message if task failed
-
Response 200 ·
items[].errorMessage · anyOf 2Alternativenull
-
-
Response 200 ·
items[].featureRequiredobject | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].feature · anyOf 1Alternativeobject2 fields
-
Response 200 ·
items[].feature · anyOf 1.codeRequiredstringFeature code
1 field
-
Response 200 ·
items[].feature · anyOf 1.codeSee schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].feature · anyOf 1.nameRequiredstringFeature name
1 field
-
Response 200 ·
items[].feature · anyOf 1.nameSee schemastringExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].feature · anyOf 2Alternativenull
-
-
Response 200 ·
items[].featureCodeRequiredstringFeature code
-
Response 200 ·
items[].inputParametersRequiredanyTask input parameters
-
Response 200 ·
items[].metadataRequiredany | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].metadata · anyOf 1AlternativeanyAdditional metadata
-
Response 200 ·
items[].metadata · anyOf 2Alternativenull
-
-
Response 200 ·
items[].modelRequiredobject | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].model · anyOf 1Alternativeobject3 fields
-
Response 200 ·
items[].model · anyOf 1.codeRequiredstringModel code
1 field
-
Response 200 ·
items[].model · anyOf 1.codeSee schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].model · anyOf 1.nameRequiredstringModel display name
1 field
-
Response 200 ·
items[].model · anyOf 1.nameSee schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].model · anyOf 1.versionRequiredstringModel version
1 field
-
Response 200 ·
items[].model · anyOf 1.versionSee schemastringExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].model · anyOf 2Alternativenull
-
-
Response 200 ·
items[].modelCodeRequiredstringModel code
-
Response 200 ·
items[].pricingRequiredobject | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].pricing · anyOf 1AlternativeobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
items[].pricing · anyOf 1.componentsRequiredarray<object>1 field
-
Response 200 ·
items[].pricing · anyOf 1.componentsSee schemaarray<object>Expand this value in the interactive reference.
-
-
Response 200 ·
items[].pricing · anyOf 1.quoteVersionRequirednumberPricing quote version stored with the task.
Minimum: 1.
1 field
-
Response 200 ·
items[].pricing · anyOf 1.quoteVersionSee schemanumberExpand this value in the interactive reference.
Minimum: 1.
-
-
-
Response 200 ·
items[].pricing · anyOf 2Alternativenull
-
-
Response 200 ·
items[].processingCompletedAtRequiredDate | string | number | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].processingCompletedAt · anyOf 1AlternativeDate | string | numberProcessing completion timestamp
Must match at least one alternative.
4 fields / alternatives
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 1AlternativeDateProcessing completion timestamp
1 field
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 1See schemaDateExpand this value in the interactive reference.
-
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 2AlternativestringFormat: date-time.
1 field
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 2See schemastringExpand this value in the interactive reference.
Format: date-time.
-
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 3AlternativestringFormat: date.
1 field
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 3See schemastringExpand this value in the interactive reference.
Format: date.
-
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 4Alternativenumber1 field
-
Response 200 ·
items[].processingCompletedAt · anyOf 1 · anyOf 4See schemanumberExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].processingCompletedAt · anyOf 2Alternativenull
-
-
Response 200 ·
items[].processingDurationRequirednumber | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].processingDuration · anyOf 1AlternativenumberProcessing duration in milliseconds
-
Response 200 ·
items[].processingDuration · anyOf 2Alternativenull
-
-
Response 200 ·
items[].processingDurationTextRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].processingDurationText · anyOf 1AlternativestringHuman-readable processing duration, e.g. 16.2s
-
Response 200 ·
items[].processingDurationText · anyOf 2Alternativenull
-
-
Response 200 ·
items[].processingStartedAtRequiredDate | string | number | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].processingStartedAt · anyOf 1AlternativeDate | string | numberProcessing start timestamp
Must match at least one alternative.
4 fields / alternatives
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 1AlternativeDateProcessing start timestamp
1 field
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 1See schemaDateExpand this value in the interactive reference.
-
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 2AlternativestringFormat: date-time.
1 field
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 2See schemastringExpand this value in the interactive reference.
Format: date-time.
-
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 3AlternativestringFormat: date.
1 field
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 3See schemastringExpand this value in the interactive reference.
Format: date.
-
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 4Alternativenumber1 field
-
Response 200 ·
items[].processingStartedAt · anyOf 1 · anyOf 4See schemanumberExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].processingStartedAt · anyOf 2Alternativenull
-
-
Response 200 ·
items[].progressRequirednumber | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].progress · anyOf 1AlternativenumberTask progress percentage (0-100)
Minimum: 0. Maximum: 100.
-
Response 200 ·
items[].progress · anyOf 2Alternativenull
-
-
Response 200 ·
items[].providerRequiredobject | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].provider · anyOf 1Alternativeobject2 fields
-
Response 200 ·
items[].provider · anyOf 1.codeRequiredstringProvider code
1 field
-
Response 200 ·
items[].provider · anyOf 1.codeSee schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].provider · anyOf 1.nameRequiredstringProvider display name
1 field
-
Response 200 ·
items[].provider · anyOf 1.nameSee schemastringExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].provider · anyOf 2Alternativenull
-
-
Response 200 ·
items[].providerCodeRequiredstringProvider code
-
Response 200 ·
items[].statusRequired"PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED"Default: "PENDING".
-
Response 200 ·
items[].taskIdRequiredstringTask unique identifier
-
Response 200 ·
items[].updatedAtRequiredDate | string | numberLast update timestamp
Must match at least one alternative.
4 fields / alternatives
-
Response 200 ·
items[].updatedAt · anyOf 1AlternativeDateLast update timestamp
-
Response 200 ·
items[].updatedAt · anyOf 2AlternativestringFormat: date-time.
-
Response 200 ·
items[].updatedAt · anyOf 3AlternativestringFormat: date.
-
Response 200 ·
items[].updatedAt · anyOf 4Alternativenumber
-
-
-
-
Response 200 ·
limitRequirednumberPage size
Minimum: 1.
-
Response 200 ·
offsetRequirednumberOffset
Minimum: 0.
-
Response 200 ·
hasMoreOptionalbooleanWhether there are more tasks (cursor mode)
-
Response 200 ·
nextCursorOptionalstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
nextCursor · anyOf 1AlternativestringCursor for next page (cursor mode)
-
Response 200 ·
nextCursor · anyOf 2Alternativenull
-
-
Response 200 ·
totalOptionalnumberTotal number of tasks (offset mode only)
Minimum: 0.
400 Bad Request
application/json
-
Response 400 ·
errorRequiredobject3 fields
-
Response 400 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 400 ·
error.messageRequiredstringHuman readable error message
-
Response 400 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 400 ·
successRequiredfalseAlways false for error responses
401 Unauthorized
application/json
-
Response 401 ·
errorRequiredobject3 fields
-
Response 401 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 401 ·
error.messageRequiredstringHuman readable error message
-
Response 401 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 401 ·
successRequiredfalseAlways false for error responses
403 Forbidden
application/json
-
Response 403 ·
errorRequiredobject3 fields
-
Response 403 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 403 ·
error.messageRequiredstringHuman readable error message
-
Response 403 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 403 ·
successRequiredfalseAlways false for error responses
429 Too Many Requests
Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.
application/json
-
Response 429 ·
errorRequiredobject3 fields
-
Response 429 ·
error.codeRequiredstringRATE_LIMITED for request and task admission rejections.
-
Response 429 ·
error.messageRequiredstring -
Response 429 ·
error.detailsOptionalobjectOptional and scope-dependent. Request limits supply scope/policy/type/limit/current/retryAfterSec. Task admission supplies inFlight/limit/tier, plus scope=apiKey for a key cap. IP rejection can omit details. In-flight rejection does not promise Retry-After.
8 fields
-
Response 429 ·
error.details.currentOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.inFlightOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.limitOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.policyOptional"operation" | "query" -
Response 429 ·
error.details.retryAfterSecOptionalintegerMinimum: 1.
-
Response 429 ·
error.details.scopeOptional"user" | "api-key" | "ip" | "apiKey" -
Response 429 ·
error.details.tierOptional"FREE" | "PREMIUM" | "ENTERPRISE" -
Response 429 ·
error.details.typeOptional"rps" | "daily" | "monthly"
-
-
-
Response 429 ·
successRequiredfalseDefault: false.
500 Internal Server Error
application/json
-
Response 500 ·
errorRequiredobject3 fields
-
Response 500 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 500 ·
error.messageRequiredstringHuman readable error message
-
Response 500 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 500 ·
successRequiredfalseAlways false for error responses