View Categories

List jobs in a project

< 1 min read

GET/projects/{projectId}/jobs

Code Samples #

  • 💻 cURL
  • 📄 JavaScript
  • 🐍 Python
  • 🐘 PHP
  • 🔷 C#
  • Java
Copy
curl --request GET \
  --url 'https://api.taskflow.example.com/v2/projects/{projectId}/jobs' \
  --header 'Authorization: Bearer YOUR_TOKEN'

Response #

Copy
[
    {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "kind": "import",
        "status": "queued",
        "progress": 1,
        "error": null
    }
]

Query Parameters #

NameTypeRequiredDescription
statusstringOptional

Responses #

200 — Jobs #

FieldTypeRequiredDescription
[].idstring (uuid)Optional
[].kindstringOptional Allowed: import, export
[].statusstringOptional Allowed: queued, running, done, failed
[].progressnumberOptional
[].errorone ofOptional
📋
Example 200 response
Copy
[
    {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "kind": "import",
        "status": "queued",
        "progress": 1,
        "error": null
    }
]

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.