curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "zai",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"id": "20261121070435fd4e1312afcf4f72",
"model": "glm-image",
"request_id": "20261121070435fd4e1312afcf4f72",
"task_status": "PROCESSING"
}
}
A real response, recorded when Orthogonal checked this endpoint.
Free
Calls cost nothing.
About this endpoint
Read the status and result of an asynchronous video or image generation job by the task ID its start call returned.
Path parameters
idrequiredstringGoes in the path: replace {id} in the request.Response types
modelModel name.stringtask_statusProcessing status, PROCESSING (processing), SUCCESS (success), FAIL (failure). Note: Processing status needs to be obtained via query.stringrequest_idTask number submitted by the user during the client request or generated by the platform.stringMore from Z.ai
- Web page readerPOST/api/paas/v4/reader$0.0109 per callFixed
- Agent taskPOST/api/v1/agentsFrom $0.763 per 1M tokens · varies by agentResponse-based · up to $1.09
- Chat completionPOST/api/paas/v4/chat/completionsFrom $0.0327 per 1M tokens · varies by modelResponse-based · up to $2.228749
- Async image generationPOST/api/paas/v4/async/images/generations$0.01635 per callFixed
- Web searchPOST/api/paas/v4/web_search$0.0109 per callFixed
- Token countPOST/api/paas/v4/tokenizer$0.000109 per callFixed
- Video generationPOST/api/paas/v4/videos/generations$0.218 per callFixed
- Agent job resultPOST/api/v1/agents/async-resultFree
- Speech to textPOST/api/paas/v4/audio/transcriptions$0.001308 per callFixed
- Document OCR parsingPOST/api/paas/v4/layout_parsing$0.0327 per 1M tokensResponse-based · up to $0.00981
- Slides conversation exportPOST/api/v1/agents/conversationFree
- Image generationPOST/api/paas/v4/images/generations$0.01635 per callFixed