Skip to main content
GET
Query Kling 4.0 Tasks

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> in the request header.

Headers

Content-Type
string
default:application/json
required

Data exchange format

Query Parameters

task_ids
string

System task IDs to query. Use exactly one of task_ids or external_task_ids, never both. Batch queries are supported; separate multiple IDs with commas.

external_task_ids
string

Custom task IDs to query. Use exactly one of task_ids or external_task_ids, never both. Batch queries are supported; separate multiple IDs with commas.

Response

200 - application/json

Task status response.

code
integer

Error code; 0 means success. See the error code documentation for details.

Example:

0

message
string

Error message.

request_id
string

Request ID generated by the system for tracking and troubleshooting.

data
object[]

List of task results; multiple entries are returned for batch queries.