Skip to main content
GET
/
tasks
/
{task_id}
/
export
Export Task
curl --request GET \
  --url https://api.example.com/tasks/{task_id}/export
{
  "task_id": "<string>",
  "messages": [
    {
      "task_id": "<string>",
      "content": {
        "content": "<string>",
        "type": "text",
        "style": "static",
        "format": "plain",
        "attachments": [
          {
            "file_id": "<string>",
            "name": "<string>",
            "size": 123,
            "type": "<string>"
          }
        ]
      },
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "task_states": [
    {
      "task_id": "<string>",
      "agent_id": "<string>",
      "state": {},
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt

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

Path Parameters

task_id
string
required

Response

Successful Response

Wire format mirrors the entity directly — schema parity is intentional.

task_id
string
required
messages
TaskMessageEntity · object[]
task_states
StateEntity · object[]