PiAPIVideo GenerationAI generation

Check a PiAPI task

piapi.task.get

Read a task's status (Pending, Processing, Completed, Failed, Staged) and its output URLs.

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
Sep 14, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/piapi.task.getPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Path parameters
task_idstringRequireda30cb03f-a8d3-4d87-a547-c2a0d113e7a5
  • Path parameters
  • task_idstringRequired

    Example: a30cb03f-a8d3-4d87-a547-c2a0d113e7a5

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/piapi.task.get' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.