Skip to main content
POST
Tasks

인증

Authorization
string
header
필수

헤더

accept
enum<string>

Specifies the format of the response from the server.

사용 가능한 옵션:
application/json

본문

application/json
task_id
string
필수

The task id returned when a token API was called with async=true.

예시:

"61138bb6-19aa-11ec-a9c8-0242ac110002"

응답

OK, the request is successful.

success
boolean
필수

Whether the query succeeded.

task_id
string
필수

The task id being polled.

status
enum<string>
필수

Persisted task state. 'processing' means the server is still working; 'ready' means the result is stored. Reading processing state has no lifecycle or billing side effects.

사용 가능한 옵션:
processing,
ready
started_at
number

When the task began processing, as a Unix timestamp in seconds (float).

finished_at
number

When the task produced its result, as a Unix timestamp in seconds (float). Absent while the task is still processing.

elapsed
number

Processing time in seconds (float, 3 decimals). Absent while the task is still processing.

trace_id
string

本次请求的追踪 ID,排查问题时提供给技术支持。

type
string

任务类型。

user_id
string

发起该任务的账号 ID。

actor_user_id
string

实际执行者的账号 ID。通过授权代发时与 user_id 不同。

api_id
string

该任务所属接口的 ID。

application_id
string

该任务计费所用应用的 ID。

credential_id
string

发起该任务所用凭证的 ID。

authorization_id
string

该任务使用的授权 ID。未通过授权发起时为 null。

token
string

The solved verification token (token APIs). Present only when status is 'ready'.

solution
object

The recognition result for recognition/recaptcha2 and recognition/hcaptcha. Present only when status is 'ready'.

text
string

The recognized text for recognition/image2text. Present only when status is 'ready'.