{
  "opencollection": "1.0.0",
  "info": {
    "name": "Portkey Analytics > Graphs Responses API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-portkey-api-key",
      "value": "{{x-portkey-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Responses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates a model response\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.portkey.ai/v1/responses",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a model response\n"
        },
        {
          "info": {
            "name": "Retrieves a model response with the given ID.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.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": "Specify additional output data to include in the response. Currently\nsupported values are:\n- `file_search_call.results`: Include the search results of\n  the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n"
              }
            ]
          },
          "docs": "Retrieves a model response with the given ID.\n"
        },
        {
          "info": {
            "name": "Deletes a model response with the given ID.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.portkey.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": "Returns a list of input items for a given response.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.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 `asc`.\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": "before",
                "value": "",
                "type": "query",
                "description": "An item ID to list items before, used in pagination.\n"
              }
            ]
          },
          "docs": "Returns a list of input items for a given response."
        }
      ]
    }
  ],
  "bundled": true
}