ServicesTasksHTTP APITasks

List task specs

GET
/api/tasks/projects/{project_id}/task-specs

List task specs.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

project_id*string

Response Body

Success

application/json
  1. response
taskSpecs*array<>
curl -X GET 'https://api.spiraldb.dev/api/tasks/projects/string/task-specs'
{  "taskSpecs": [    {      "allowedResourceProfiles": [        {          "cpu": 0,          "id": "cpu_1",          "memoryGib": "string"        }      ],      "defaultResourceProfile": "cpu_1",      "overlapPolicy": "allow_all",      "taskSpecId": {        "name": "string",        "version": 0      }    }  ]}