{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nex Developer AI Lists API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Lists",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves a list definition by its ID"
        },
        {
          "info": {
            "name": "Add a list member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Add record to a list"
        },
        {
          "info": {
            "name": "Upsert a list member",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Add record to a list or update its list-specific attributes if it already exists"
        },
        {
          "info": {
            "name": "Delete a list",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Permanently deletes a list definition"
        },
        {
          "info": {
            "name": "Get records from a specific list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id/records",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves all records that belong to a specific list with pagination"
        },
        {
          "info": {
            "name": "Update a record within a list",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id/records/:record_id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              },
              {
                "name": "record_id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates list-specific attributes for a record that belongs to a list"
        },
        {
          "info": {
            "name": "Remove a record from a list",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.nex.ai/api/developers/v1/lists/:id/records/:record_id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "List ID"
              },
              {
                "name": "record_id",
                "value": "",
                "type": "path",
                "description": "Record ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Removes a record from a list without deleting the record itself"
        },
        {
          "info": {
            "name": "List all lists for a specific object",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nex.ai/api/developers/v1/objects/:slug/lists",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "Object slug (e.g., 'person', 'company')"
              },
              {
                "name": "include_attributes",
                "value": "",
                "type": "query",
                "description": "Include attribute definitions for each list"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves all lists associated with a specific object type"
        },
        {
          "info": {
            "name": "Create a list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nex.ai/api/developers/v1/objects/:slug/lists",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "Object slug (e.g., 'person', 'company')"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new list associated with a specific object type"
        }
      ]
    }
  ],
  "bundled": true
}