tasks
tasks

Search tasks, pull requests, artifacts, and spaces

API for managing tasks within a project. Tasks represent units of work to be performed by an agent.

get/api/projects/{project_id}/tasks/search/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tasks/search/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

limitinteger

Maximum number of results to return.

qstring required

Text or exact identifier to search for.

Response

idstring uuid required

Search document identifier.

kind'task' | 'pull_request' | 'artifact' | 'channel' | 'canvas' required
  • task - task
  • pull_request - pull_request
  • artifact - artifact
  • channel - channel
  • canvas - canvas
titlestring required

Primary result label.

subtitlestring required

Secondary result context.

task_idstring uuid nullable required

Containing task identifier, when applicable.

task_run_idstring uuid nullable required

Containing task run identifier, when applicable.

channel_idstring uuid nullable required

Containing space identifier, when applicable.

origin_productstring nullable required

What created the containing task, for example 'slack'.

updated_atstring date-time required

When the matched resource last changed.

metadataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.