{
  "opencollection": "1.0.0",
  "info": {
    "name": "Julep Agents Tasks API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "TasksGetRoute_get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{serverEnv}.julep.ai/api/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the resource"
              }
            ]
          },
          "docs": "Get a task by id"
        },
        {
          "info": {
            "name": "TaskExecutionsRoute_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{serverEnv}.julep.ai/api/tasks/:id/executions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of parent"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limit the number of items returned"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset the items returned"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "Sort by a field"
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "Sort direction"
              },
              {
                "name": "metadata_filter",
                "value": "",
                "type": "query",
                "description": "Object to filter results by metadata"
              }
            ]
          },
          "docs": "List executions of the given task"
        },
        {
          "info": {
            "name": "TaskExecutionsRoute_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{serverEnv}.julep.ai/api/tasks/:id/executions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of parent resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an execution for the given task"
        }
      ]
    }
  ],
  "bundled": true
}