{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nex Developer AI Lists Tasks API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nex.ai/api/developers/v1/tasks",
            "params": [
              {
                "name": "entity_id",
                "value": "",
                "type": "query",
                "description": "Filter by associated record ID"
              },
              {
                "name": "assignee_id",
                "value": "",
                "type": "query",
                "description": "Filter by assignee user ID"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search task titles"
              },
              {
                "name": "is_completed",
                "value": "",
                "type": "query",
                "description": "Filter by completion status (true/false)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Max results (1-500, default: 100)"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset (default: 0)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves tasks with optional filtering by entity, assignee, completion status, and search query. Supports offset-based pagination."
        },
        {
          "info": {
            "name": "Create a task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nex.ai/api/developers/v1/tasks",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new task, optionally associated with records and assignees"
        },
        {
          "info": {
            "name": "Get a task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nex.ai/api/developers/v1/tasks/:task_id",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "Task ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves a single task by ID"
        },
        {
          "info": {
            "name": "Update a task",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.nex.ai/api/developers/v1/tasks/:task_id",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "Task ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates properties of an existing task. All fields are optional — only provided fields are updated."
        },
        {
          "info": {
            "name": "Delete a task",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.nex.ai/api/developers/v1/tasks/:task_id",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "Task ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Archives (soft-deletes) a task. The task will have an archived_at timestamp set."
        }
      ]
    }
  ],
  "bundled": true
}