Skip to main content
GET
/
analysis
/
{task_id}
Get Analysis Result
curl --request GET \
  --url https://api.manka.ai/v1/api/analysis/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "processing",
  "task_id": "3f7a1c2e-8b4d-4e9f-a1b2-c3d4e5f60718"
}

Documentation Index

Fetch the complete documentation index at: https://docs.manka.tz/llms.txt

Use this file to discover all available pages before exploring further.

Returns the current status of an analysis job previously created via POST /analysis.
Task records expire 24 hours after creation. A 404 response means the task ID is unknown or has expired.

Path parameters

task_id
string
required
The task_id returned by POST /analysis.

Response

status
string
required
One of processing, completed, or failed.
task_id
string
required
Echo of the task identifier.
result
object
Present when status is completed. Contains the full analysis output.
error
string
Present when status is failed. Human-readable reason the analysis could not be completed.

Status values

ValueMeaning
processingAnalysis is in progress — keep polling
completedAnalysis finished; result contains the full output
failedAnalysis could not be completed; error contains the reason
{
  "status": "processing",
  "task_id": "3f7a1c2e-8b4d-4e9f-a1b2-c3d4e5f60718"
}

Error responses

StatusReason
401Missing or invalid API token
404Task not found or expired

Polling pattern

curl https://api.manka.ai/v1/api/analysis/3f7a1c2e-8b4d-4e9f-a1b2-c3d4e5f60718 \
  -H "Authorization: Bearer $MANKA_API_TOKEN"
Prefer a callback URL over polling when you control a public HTTPS endpoint.