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.
Scope: task:read
Billing and effects: Free resource read; no generation purchase.
Recovery: Read the current resource before retrying a mutation; do not assume this operation supports Idempotency-Key.
Follow this operation’s workflow → · All permission rulesRequest
Query parameters
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
Read the HTTP status and body together. A receipt confirms acceptance; poll the returned Task or product view for terminal execution and media delivery. Example IDs and credit amounts are illustrative, not a price quote.
HTTP 401 · Request rejected; correct the key before retrying
Complete JSON example (optional fields may be omitted).
{ "success": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }}200 OK
application/json
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Only the listed fields are accepted in this object.
-
Response 200 ·
itemsRequiredarray<object>Items in this result page. Follow the returned cursor, when present, to continue pagination.
1 field
-
Response 200 ·
items[]Each itemobjectOnly the listed fields are accepted in this object.
23 fields
-
Response 200 ·
items[].createdAtRequiredstringTask creation timestamp. JSON uses an ISO 8601 date-time string with timezone.
Format: date-time.
-
Response 200 ·
items[].creditsChargedRequirednumber | nullCredits actually charged
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — numberOptionnumberCredits actually charged
Minimum: 0.
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].creditsRequiredRequirednumberCredits deducted to start the task
Minimum: 0.
-
Response 200 ·
items[].errorMessageRequiredstring | nullError message if task failed
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — stringOptionstringError message if task failed
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].featureRequiredobject | nullPublic feature metadata identifying the business action executed by this Task; null if unavailable.
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — requires name, codeOptionobject2 fields
-
Response 200 ·
items[].feature.codeRequiredstringFeature code
-
Response 200 ·
items[].feature.nameRequiredstringFeature name
-
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].featureCodeRequiredstringFeature code
-
Response 200 ·
items[].inputParametersRequiredany JSON valueSnapshot of operation-specific input parameters. Interpret it using the original product create request and featureCode; this shared Task envelope does not define one universal input schema.
-
Response 200 ·
items[].metadataRequiredany | nullOpen extension metadata. Keys are operation-specific and may change. Preserve unknown values if forwarding; do not use these keys instead of typed status, billing or resource fields.
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — anyOptionany JSON valueAdditional metadata
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].modelRequiredobject | nullPublic model metadata identifying the selected Task model; null if unavailable, distinct from operation-specific output model names.
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — requires name, code, versionOptionobject3 fields
-
Response 200 ·
items[].model.codeRequiredstringModel code
-
Response 200 ·
items[].model.nameRequiredstringModel display name
-
Response 200 ·
items[].model.versionRequiredstringModel version
-
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].modelCodeRequiredstringModel code
-
Response 200 ·
items[].pricingRequiredobject | nullPrice recorded for this operation. Distinguish the accepted charge from final net settlement and any refunds.
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — requires quoteVersion, componentsOptionobjectOnly the listed fields are accepted in this object.
2 fields
-
Response 200 ·
items[].pricing.componentsRequiredarray<object>Components from the accepted Task pricing snapshot, with stable keys, display labels and final component credits; these are not the supplier cost ledger.
1 field
-
Response 200 ·
items[].pricing.components[]Each itemobjectOnly the listed fields are accepted in this object.
3 fields
-
Response 200 ·
items[].pricing.components[].creditsRequirednumberFinal credits charged for this component.
Minimum: 0.
-
Response 200 ·
items[].pricing.components[].keyRequiredstringStable billing component key.
-
Response 200 ·
items[].pricing.components[].labelRequiredstringHuman-readable component label.
-
-
-
Response 200 ·
items[].pricing.quoteVersionRequirednumberPricing quote version stored with the task.
Minimum: 1.
-
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].processingCompletedAtRequiredstring | nullProcessing completion timestamp
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — stringOptionstringProcessing completion timestamp. JSON uses an ISO 8601 date-time string with timezone.
Format: date-time.
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].processingDurationRequirednumber | nullProcessing duration in milliseconds
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — numberOptionnumberProcessing duration in milliseconds
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].processingDurationTextRequiredstring | nullHuman-readable processing duration, e.g. 16.2s
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — stringOptionstringHuman-readable processing duration, e.g. 16.2s
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].processingStartedAtRequiredstring | nullProcessing start timestamp
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — stringOptionstringProcessing start timestamp. JSON uses an ISO 8601 date-time string with timezone.
Format: date-time.
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].progressRequirednumber | nullTask progress percentage (0-100)
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — numberOptionnumberTask progress percentage (0-100)
Minimum: 0. Maximum: 100.
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].providerRequiredobject | nullPublic provider metadata identifying the Task's product/provider, without supplier credentials or internal routing details; null if unavailable.
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — requires name, codeOptionobject2 fields
-
Response 200 ·
items[].provider.codeRequiredstringProvider code
-
Response 200 ·
items[].provider.nameRequiredstringProvider display name
-
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
items[].providerCodeRequiredstringProvider code
-
Response 200 ·
items[].statusRequired"PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED"State of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.
Default: "PENDING".
-
Response 200 ·
items[].taskIdRequiredstringTask unique identifier
-
Response 200 ·
items[].updatedAtRequiredstringLast update timestamp. JSON uses an ISO 8601 date-time string with timezone.
Format: date-time.
-
Response 200 ·
items[].contractVersionOptional"v2"Public contract version used to interpret this resource. Do not combine field names from different versions.
-
-
-
Response 200 ·
limitRequirednumberPage size
Minimum: 1.
-
Response 200 ·
offsetRequirednumberOffset
Minimum: 0.
-
Response 200 ·
hasMoreOptionalbooleanWhether there are more tasks (cursor mode)
-
Response 200 ·
nextCursorOptionalstring | nullCursor for next page (cursor mode)
May be null. Use a complete option below; the value must satisfy at least one option.
2 options
-
Response 200 ·
Option 1 — stringOptionstringCursor for next page (cursor mode)
-
Response 200 ·
Option 2 — nullOptionnull
-
-
Response 200 ·
totalOptionalnumberTotal number of tasks (offset mode only)
Minimum: 0.
400 Bad Request
application/json
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
-
Response 400 ·
errorRequiredobjectStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
3 fields
-
Response 400 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 400 ·
error.messageRequiredstringHuman readable error message
-
Response 400 ·
error.detailsOptionalobjectOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
1 field
-
Response 400 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 400 ·
successRequiredfalseAlways false for error responses
401 Unauthorized
application/json
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
-
Response 401 ·
errorRequiredobjectStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
3 fields
-
Response 401 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 401 ·
error.messageRequiredstringHuman readable error message
-
Response 401 ·
error.detailsOptionalobjectOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
1 field
-
Response 401 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 401 ·
successRequiredfalseAlways false for error responses
403 Forbidden
application/json
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
-
Response 403 ·
errorRequiredobjectStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
3 fields
-
Response 403 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 403 ·
error.messageRequiredstringHuman readable error message
-
Response 403 ·
error.detailsOptionalobjectOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
1 field
-
Response 403 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
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
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
-
Response 429 ·
errorRequiredobjectStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
3 fields
-
Response 429 ·
error.codeRequiredstringRATE_LIMITED for request and task admission rejections.
-
Response 429 ·
error.messageRequiredstringHuman-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.
-
Response 429 ·
error.detailsOptionalobjectOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
9 fields
-
Response 429 ·
error.details.currentOptionalintegerCurrent count for the rate-limit window identified by policy and scope.
Minimum: 0.
-
Response 429 ·
error.details.inFlightOptionalintegerCurrent accepted tasks counted against the relevant account or API-key admission limit.
Minimum: 0.
-
Response 429 ·
error.details.limitOptionalintegerMaximum count allowed by this response context. A limit is not a throughput guarantee.
Minimum: 0.
-
Response 429 ·
error.details.policyOptional"operation" | "query"Allowance bucket: query for resource reads, operation for task-producing or operation requests. See the rate-limit response headers.
-
Response 429 ·
error.details.retryAfterSecOptionalintegerSuggested delay in seconds before another request. Honor the Retry-After header when present; use bounded backoff.
Minimum: 1.
-
Response 429 ·
error.details.scopeOptional"user" | "api-key" | "ip" | "apiKey"Entity whose allowance was exceeded, such as the user, API key or IP address.
-
Response 429 ·
error.details.tierOptional"FREE" | "PREMIUM" | "ENTERPRISE"Account allowance tier used for this admission or rate-limit decision.
-
Response 429 ·
error.details.typeOptional"rps" | "daily" | "monthly"Admission limit that rejected the request: rps (continuously refilled requests-per-second bucket), daily or monthly UTC request budget. Interpret with policy, scope and retryAfterSec.
-
Response 429 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 429 ·
successRequiredfalseWhether this response reports a successful action; false accompanies the structured error object.
Default: false.
500 Internal Server Error
application/json
Required, optional and null
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
-
Response 500 ·
errorRequiredobjectStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
3 fields
-
Response 500 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 500 ·
error.messageRequiredstringHuman readable error message
-
Response 500 ·
error.detailsOptionalobjectOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
1 field
-
Response 500 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 500 ·
successRequiredfalseAlways false for error responses