{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nexos AI Public API Production Agent Management Responses API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Responses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a model response",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nexos.ai/v1/responses",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a model response."
        },
        {
          "info": {
            "name": "Get a model response",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nexos.ai/v1/responses/:response_id",
            "params": [
              {
                "name": "response_id",
                "value": "",
                "type": "path",
                "description": "The ID of the response to retrieve."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Additional fields to include in the response. See the `include`\nparameter for Response creation above for more information.\n"
              },
              {
                "name": "stream",
                "value": "",
                "type": "query",
                "description": "If set to true, the model response data will be streamed to the client\nas it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\n"
              },
              {
                "name": "starting_after",
                "value": "",
                "type": "query",
                "description": "The sequence number of the event after which to start streaming.\n"
              },
              {
                "name": "include_obfuscation",
                "value": "",
                "type": "query",
                "description": "When true, stream obfuscation will be enabled. Stream obfuscation adds\nrandom characters to an `obfuscation` field on streaming delta events\nto normalize payload sizes as a mitigation to certain side-channel\nattacks. These obfuscation fields are included by default, but add a\nsmall amount of overhead to the data stream.\n"
              }
            ]
          },
          "docs": "Retrieves a model response with the given ID.\n"
        },
        {
          "info": {
            "name": "Delete a model response",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.nexos.ai/v1/responses/:response_id",
            "params": [
              {
                "name": "response_id",
                "value": "",
                "type": "path",
                "description": "The ID of the response to delete."
              }
            ]
          },
          "docs": "Deletes a model response with the given ID.\n"
        },
        {
          "info": {
            "name": "List input items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nexos.ai/v1/responses/:response_id/input_items",
            "params": [
              {
                "name": "response_id",
                "value": "",
                "type": "path",
                "description": "The ID of the response to retrieve input items for."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "An item ID to list items after, used in pagination.\n"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Additional fields to include in the response. See the `include`\nparameter for Response creation above for more information.\n"
              }
            ]
          },
          "docs": "Returns a list of input items for a given response."
        },
        {
          "info": {
            "name": "Cancel a response",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nexos.ai/v1/responses/:response_id/cancel",
            "params": [
              {
                "name": "response_id",
                "value": "",
                "type": "path",
                "description": "The ID of the response to cancel."
              }
            ]
          },
          "docs": "Cancels a model response with the given ID. Only responses created with\nthe `background` parameter set to `true` can be cancelled. \n"
        },
        {
          "info": {
            "name": "Compact a response",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nexos.ai/v1/responses/compact",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Compact conversation"
        },
        {
          "info": {
            "name": "Get input token counts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nexos.ai/v1/responses/input_tokens",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get input token counts"
        }
      ]
    }
  ],
  "bundled": true
}