Skip to main content
GET
/
api
/
runs
List runs
curl --request GET \
  --url https://sontairo.com/api/runs
{
  "data": [
    {
      "id": "<string>",
      "workspaceId": "<string>",
      "projectId": "<string>",
      "status": "PENDING",
      "prompt": "<string>",
      "output": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Query Parameters

workspaceId
string
required
projectId
string
limit
integer
default:20
Required range: x <= 100
offset
integer
default:0

Response

200 - application/json

Paginated list of runs

data
object[]
total
integer