VirtuousAI
ReferenceV1

List Actions

GET
/api/v1/actions

Query Parameters

q?|

Search by name or slug

kinds?array<>|

Filter by action kinds

statuses?array<>|

Filter by statuses

sort_by?string

Sortable fields for action list.

Default"created_at"
Value in"name" | "created_at" | "updated_at" | "status" | "kind"
order?string

Sort direction for pagination.

Default"desc"
Value in"asc" | "desc"
limit?integer
Default100
Range1 <= value <= 100
offset?integer
Default0
Range0 <= value

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/actions"
{
  "actions": [
    {
      "connectionId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "definition": {},
      "id": "string",
      "kind": "dlt_extract",
      "latestRun": {
        "completedAt": "2019-08-24T14:15:22Z",
        "startedAt": "2019-08-24T14:15:22Z",
        "status": "pending"
      },
      "name": "string",
      "slug": "string",
      "status": "active",
      "templateId": "string",
      "updatedAt": "2019-08-24T14:15:22Z",
      "updatedBy": "string"
    }
  ],
  "hasNext": true,
  "limit": 0,
  "offset": 0,
  "total": 0,
  "users": {}
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}