Skip to main content
GET
/
tasks
List tasks
curl --request GET \
  --url https://api.getpg.ai/v1/tasks \
  --header 'X-Api-Key: <api-key>'
{}

Authorizations

X-Api-Key
string
header
required

Your API key for authentication. Get your API key from the PGAI dashboard.

Query Parameters

page
integer
default:1

Page number

per_page
integer
default:25

Results per page (max 100)

company_id
string

Filter tasks by company UUID

status
enum<string>

Filter tasks by status

Available options:
pending,
in_progress,
completed,
cancelled

Response

Success - paginated list of tasks

Response data