{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenAI API",
    "version": "2.3.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Assistants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of assistants.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/assistants",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              }
            ]
          },
          "docs": "Returns a list of assistants."
        },
        {
          "info": {
            "name": "Create an assistant with a model and instructions.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/assistants",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an assistant with a model and instructions."
        },
        {
          "info": {
            "name": "Retrieves an assistant.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/assistants/:assistant_id",
            "params": [
              {
                "name": "assistant_id",
                "value": "",
                "type": "path",
                "description": "The ID of the assistant to retrieve."
              }
            ]
          },
          "docs": "Retrieves an assistant."
        },
        {
          "info": {
            "name": "Modifies an assistant.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/assistants/:assistant_id",
            "params": [
              {
                "name": "assistant_id",
                "value": "",
                "type": "path",
                "description": "The ID of the assistant to modify."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies an assistant."
        },
        {
          "info": {
            "name": "Delete an assistant.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/assistants/:assistant_id",
            "params": [
              {
                "name": "assistant_id",
                "value": "",
                "type": "path",
                "description": "The ID of the assistant to delete."
              }
            ]
          },
          "docs": "Delete an assistant."
        },
        {
          "info": {
            "name": "Create a thread.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a thread."
        },
        {
          "info": {
            "name": "Create a thread and run it in one request.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/runs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a thread and run it in one request."
        },
        {
          "info": {
            "name": "Retrieves a thread.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to retrieve."
              }
            ]
          },
          "docs": "Retrieves a thread."
        },
        {
          "info": {
            "name": "Modifies a thread.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to modify. Only the `metadata` can be modified."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies a thread."
        },
        {
          "info": {
            "name": "Delete a thread.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/threads/:thread_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to delete."
              }
            ]
          },
          "docs": "Delete a thread."
        },
        {
          "info": {
            "name": "Returns a list of messages for a given thread.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id/messages",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the [thread](/docs/api-reference/threads) the messages belong to."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              },
              {
                "name": "run_id",
                "value": "",
                "type": "query",
                "description": "Filter messages by the run ID that generated them.\n"
              }
            ]
          },
          "docs": "Returns a list of messages for a given thread."
        },
        {
          "info": {
            "name": "Create a message.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id/messages",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the [thread](/docs/api-reference/threads) to create a message for."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a message."
        },
        {
          "info": {
            "name": "Retrieve a message.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id/messages/:message_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs."
              },
              {
                "name": "message_id",
                "value": "",
                "type": "path",
                "description": "The ID of the message to retrieve."
              }
            ]
          },
          "docs": "Retrieve a message."
        },
        {
          "info": {
            "name": "Modifies a message.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id/messages/:message_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to which this message belongs."
              },
              {
                "name": "message_id",
                "value": "",
                "type": "path",
                "description": "The ID of the message to modify."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies a message."
        },
        {
          "info": {
            "name": "Deletes a message.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/threads/:thread_id/messages/:message_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to which this message belongs."
              },
              {
                "name": "message_id",
                "value": "",
                "type": "path",
                "description": "The ID of the message to delete."
              }
            ]
          },
          "docs": "Deletes a message."
        },
        {
          "info": {
            "name": "Returns a list of runs belonging to a thread.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread the run belongs to."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              }
            ]
          },
          "docs": "Returns a list of runs belonging to a thread."
        },
        {
          "info": {
            "name": "Create a run.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to run."
              },
              {
                "name": "include[]",
                "value": "",
                "type": "query",
                "description": "A list of additional fields to include in the response. Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n\nSee the [file search tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) for more information.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a run."
        },
        {
          "info": {
            "name": "Retrieves a run.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs/:run_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the [thread](/docs/api-reference/threads) that was run."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to retrieve."
              }
            ]
          },
          "docs": "Retrieves a run."
        },
        {
          "info": {
            "name": "Modifies a run.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs/:run_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the [thread](/docs/api-reference/threads) that was run."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to modify."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies a run."
        },
        {
          "info": {
            "name": "Cancels a run that is `in_progress`.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs/:run_id/cancel",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to which this run belongs."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to cancel."
              }
            ]
          },
          "docs": "Cancels a run that is `in_progress`."
        },
        {
          "info": {
            "name": "Returns a list of run steps belonging to a run.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs/:run_id/steps",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread the run and run steps belong to."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run the run steps belong to."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              },
              {
                "name": "include[]",
                "value": "",
                "type": "query",
                "description": "A list of additional fields to include in the response. Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n\nSee the [file search tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) for more information.\n"
              }
            ]
          },
          "docs": "Returns a list of run steps belonging to a run."
        },
        {
          "info": {
            "name": "Retrieves a run step.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs/:run_id/steps/:step_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the thread to which the run and run step belongs."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to which the run step belongs."
              },
              {
                "name": "step_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run step to retrieve."
              },
              {
                "name": "include[]",
                "value": "",
                "type": "query",
                "description": "A list of additional fields to include in the response. Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n\nSee the [file search tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) for more information.\n"
              }
            ]
          },
          "docs": "Retrieves a run step."
        },
        {
          "info": {
            "name": "When a run has the `status: \"requires_action\"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/threads/:thread_id/runs/:run_id/submit_tool_outputs",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run that requires the tool output submission."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "When a run has the `status: \"requires_action\"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Audio",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generates audio from the input text.\n\nReturns the audio file content, or a stream of audio events.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/audio/speech",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generates audio from the input text.\n\nReturns the audio file content, or a stream of audio events.\n"
        },
        {
          "info": {
            "name": "Transcribes audio into the input language.\n\nReturns a transcription object in `json`, `diarized_json`, or `verbose_json`\nformat, or a stream of transcript events.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/audio/transcriptions",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Transcribes audio into the input language.\n\nReturns a transcription object in `json`, `diarized_json`, or `verbose_json`\nformat, or a stream of transcript events.\n"
        },
        {
          "info": {
            "name": "Translates audio into English.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/audio/translations",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Translates audio into English."
        },
        {
          "info": {
            "name": "Returns a list of voice consent recordings.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/audio/voice_consents",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              }
            ]
          },
          "docs": "List consent recordings available to your organization for creating custom voices.\n\nSee the [custom voices guide](/docs/guides/text-to-speech#custom-voices). Custom voices are limited to eligible customers.\n"
        },
        {
          "info": {
            "name": "Upload a voice consent recording.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/audio/voice_consents",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Upload a consent recording that authorizes creation of a custom voice.\n\nSee the [custom voices guide](/docs/guides/text-to-speech#custom-voices) for requirements and best practices. Custom voices are limited to eligible customers.\n"
        },
        {
          "info": {
            "name": "Retrieves a voice consent recording.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/audio/voice_consents/:consent_id",
            "params": [
              {
                "name": "consent_id",
                "value": "",
                "type": "path",
                "description": "The ID of the consent recording to retrieve."
              }
            ]
          },
          "docs": "Retrieve consent recording metadata used for creating custom voices.\n\nSee the [custom voices guide](/docs/guides/text-to-speech#custom-voices). Custom voices are limited to eligible customers.\n"
        },
        {
          "info": {
            "name": "Updates a voice consent recording (metadata only).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/audio/voice_consents/:consent_id",
            "params": [
              {
                "name": "consent_id",
                "value": "",
                "type": "path",
                "description": "The ID of the consent recording to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update consent recording metadata used for creating custom voices. This endpoint updates metadata only and does not replace the underlying audio.\n\nSee the [custom voices guide](/docs/guides/text-to-speech#custom-voices). Custom voices are limited to eligible customers.\n"
        },
        {
          "info": {
            "name": "Deletes a voice consent recording.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/audio/voice_consents/:consent_id",
            "params": [
              {
                "name": "consent_id",
                "value": "",
                "type": "path",
                "description": "The ID of the consent recording to delete."
              }
            ]
          },
          "docs": "Delete a consent recording that was uploaded for creating custom voices.\n\nSee the [custom voices guide](/docs/guides/text-to-speech#custom-voices). Custom voices are limited to eligible customers.\n"
        },
        {
          "info": {
            "name": "Creates a custom voice.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/audio/voices",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Create a custom voice you can use for audio output (for example, in Text-to-Speech and the Realtime API). This requires an audio sample and a previously uploaded consent recording.\n\nSee the [custom voices guide](/docs/guides/text-to-speech#custom-voices) for requirements and best practices. Custom voices are limited to eligible customers.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Batch",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List your organization's batches.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/batches",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              }
            ]
          },
          "docs": "List your organization's batches."
        },
        {
          "info": {
            "name": "Creates and executes a batch from an uploaded file of requests",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/batches",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates and executes a batch from an uploaded file of requests"
        },
        {
          "info": {
            "name": "Retrieves a batch.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/batches/:batch_id",
            "params": [
              {
                "name": "batch_id",
                "value": "",
                "type": "path",
                "description": "The ID of the batch to retrieve."
              }
            ]
          },
          "docs": "Retrieves a batch."
        },
        {
          "info": {
            "name": "Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/batches/:batch_id/cancel",
            "params": [
              {
                "name": "batch_id",
                "value": "",
                "type": "path",
                "description": "The ID of the batch to cancel."
              }
            ]
          },
          "docs": "Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file."
        }
      ]
    },
    {
      "info": {
        "name": "Chat",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List stored Chat Completions. Only Chat Completions that have been stored\nwith the `store` parameter set to `true` will be returned.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/chat/completions",
            "params": [
              {
                "name": "model",
                "value": "",
                "type": "query",
                "description": "The model used to generate the Chat Completions."
              },
              {
                "name": "metadata",
                "value": "",
                "type": "query",
                "description": "A list of metadata keys to filter the Chat Completions by. Example:\n\n`metadata[key1]=value1&metadata[key2]=value2`\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last chat completion from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of Chat Completions to retrieve."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for Chat Completions by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."
              }
            ]
          },
          "docs": "List stored Chat Completions. Only Chat Completions that have been stored\nwith the `store` parameter set to `true` will be returned.\n"
        },
        {
          "info": {
            "name": "**Starting a new project?** We recommend trying [Responses](/docs/api-reference/responses)\nto take advantage of the latest OpenAI platform features. Compare\n[Chat Completions with Responses](/docs/guides/responses-vs-chat-completions?api-mode=responses).\n\n---\n\nCreates a model response for the given chat conversation. Learn more in the\n[text generation](/docs/guides/text-generation), [vision](/docs/guides/vision),\nand [audio](/docs/guides/audio) guides.\n\nParameter support can differ depending on the model used to generate the\nresponse, particularly for newer reasoning models. Parameters that are only\nsupported for reasoning models are noted below. For the current state of\nunsupported parameters in reasoning models,\n[refer to the reasoning guide](/docs/guides/reasoning).\n\nReturns a chat completion object, or a streamed sequence of chat completion\nchunk objects if the request is streamed.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/chat/completions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Starting a new project?** We recommend trying [Responses](/docs/api-reference/responses)\nto take advantage of the latest OpenAI platform features. Compare\n[Chat Completions with Responses](/docs/guides/responses-vs-chat-completions?api-mode=responses).\n\n---\n\nCreates a model response for the given chat conversation. Learn more in the\n[text generation](/docs/guides/text-generation), [vision](/docs/guides/vision),\nand [audio](/docs/guides/audio) guides.\n\nParameter support can differ depending on "
        },
        {
          "info": {
            "name": "Get a stored chat completion. Only Chat Completions that have been created\nwith the `store` parameter set to `true` will be returned.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/chat/completions/:completion_id",
            "params": [
              {
                "name": "completion_id",
                "value": "",
                "type": "path",
                "description": "The ID of the chat completion to retrieve."
              }
            ]
          },
          "docs": "Get a stored chat completion. Only Chat Completions that have been created\nwith the `store` parameter set to `true` will be returned.\n"
        },
        {
          "info": {
            "name": "Modify a stored chat completion. Only Chat Completions that have been\ncreated with the `store` parameter set to `true` can be modified. Currently,\nthe only supported modification is to update the `metadata` field.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/chat/completions/:completion_id",
            "params": [
              {
                "name": "completion_id",
                "value": "",
                "type": "path",
                "description": "The ID of the chat completion to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modify a stored chat completion. Only Chat Completions that have been\ncreated with the `store` parameter set to `true` can be modified. Currently,\nthe only supported modification is to update the `metadata` field.\n"
        },
        {
          "info": {
            "name": "Delete a stored chat completion. Only Chat Completions that have been\ncreated with the `store` parameter set to `true` can be deleted.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/chat/completions/:completion_id",
            "params": [
              {
                "name": "completion_id",
                "value": "",
                "type": "path",
                "description": "The ID of the chat completion to delete."
              }
            ]
          },
          "docs": "Delete a stored chat completion. Only Chat Completions that have been\ncreated with the `store` parameter set to `true` can be deleted.\n"
        },
        {
          "info": {
            "name": "Get the messages in a stored chat completion. Only Chat Completions that\nhave been created with the `store` parameter set to `true` will be\nreturned.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/chat/completions/:completion_id/messages",
            "params": [
              {
                "name": "completion_id",
                "value": "",
                "type": "path",
                "description": "The ID of the chat completion to retrieve messages from."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last message from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of messages to retrieve."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for messages by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."
              }
            ]
          },
          "docs": "Get the messages in a stored chat completion. Only Chat Completions that\nhave been created with the `store` parameter set to `true` will be\nreturned.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Completions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates a completion for the provided prompt and parameters.\n\nReturns a completion object, or a sequence of completion objects if the request is streamed.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/completions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a completion for the provided prompt and parameters.\n\nReturns a completion object, or a sequence of completion objects if the request is streamed.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Default",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Containers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/containers",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter results by container name."
              }
            ]
          },
          "docs": "Lists containers."
        },
        {
          "info": {
            "name": "Create Container",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/containers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a container."
        },
        {
          "info": {
            "name": "Retrieve Container",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/containers/:container_id",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a container."
        },
        {
          "info": {
            "name": "Delete Container",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/containers/:container_id",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path",
                "description": "The ID of the container to delete."
              }
            ]
          },
          "docs": "Delete a container."
        },
        {
          "info": {
            "name": "List Container files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/containers/:container_id/files",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              }
            ]
          },
          "docs": "Lists container files."
        },
        {
          "info": {
            "name": "Create a Container File\n\nYou can send either a multipart/form-data request with the raw file content, or a JSON request with a file ID.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/containers/:container_id/files",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a container file.\n"
        },
        {
          "info": {
            "name": "Retrieve Container File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/containers/:container_id/files/:file_id",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a container file."
        },
        {
          "info": {
            "name": "Delete Container File",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/containers/:container_id/files/:file_id",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a container file."
        },
        {
          "info": {
            "name": "Retrieve Container File Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/containers/:container_id/files/:file_id/content",
            "params": [
              {
                "name": "container_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a container file content."
        },
        {
          "info": {
            "name": "List organization API keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/admin_api_keys",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a paginated list of organization admin API keys."
        },
        {
          "info": {
            "name": "Create an organization admin API key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/admin_api_keys",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new admin-level API key for the organization."
        },
        {
          "info": {
            "name": "Retrieve a single organization API key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/admin_api_keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get details for a specific organization API key by its ID."
        },
        {
          "info": {
            "name": "Delete an organization admin API key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/admin_api_keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete the specified admin API key."
        },
        {
          "info": {
            "name": "Returns input token counts of the request.\n\nReturns an object with `object` set to `response.input_tokens` and an `input_tokens` count.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/responses/input_tokens",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns input token counts of the request.\n\nReturns an object with `object` set to `response.input_tokens` and an `input_tokens` count."
        },
        {
          "info": {
            "name": "Compact a conversation. Returns a compacted response object.\n\nLearn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/responses/compact",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Compact a conversation. Returns a compacted response object.\n\nLearn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced)."
        },
        {
          "info": {
            "name": "Cancel an active ChatKit session and return its most recent metadata.\n\nCancelling prevents new requests from using the issued client secret.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/chatkit/sessions/:session_id/cancel",
            "params": [
              {
                "name": "session_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the ChatKit session to cancel."
              }
            ]
          },
          "docs": "Cancel an active ChatKit session and return its most recent metadata.\n\nCancelling prevents new requests from using the issued client secret."
        },
        {
          "info": {
            "name": "Create a ChatKit session.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/chatkit/sessions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a ChatKit session."
        },
        {
          "info": {
            "name": "List items that belong to a ChatKit thread.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/chatkit/threads/:thread_id/items",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "Identifier of the ChatKit thread whose items are requested."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of thread items to return. Defaults to 20."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for results by creation time. Defaults to `desc`."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "List items created after this thread item ID. Defaults to null for the first page."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "List items created before this thread item ID. Defaults to null for the newest results."
              }
            ]
          },
          "docs": "List items that belong to a ChatKit thread."
        },
        {
          "info": {
            "name": "Retrieve a ChatKit thread by its identifier.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/chatkit/threads/:thread_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "Identifier of the ChatKit thread to retrieve."
              }
            ]
          },
          "docs": "Retrieve a ChatKit thread by its identifier."
        },
        {
          "info": {
            "name": "Delete a ChatKit thread along with its items and stored attachments.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/chatkit/threads/:thread_id",
            "params": [
              {
                "name": "thread_id",
                "value": "",
                "type": "path",
                "description": "Identifier of the ChatKit thread to delete."
              }
            ]
          },
          "docs": "Delete a ChatKit thread along with its items and stored attachments."
        },
        {
          "info": {
            "name": "List ChatKit threads with optional pagination and user filters.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/chatkit/threads",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of thread items to return. Defaults to 20."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for results by creation time. Defaults to `desc`."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "List items created after this thread item ID. Defaults to null for the first page."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "List items created before this thread item ID. Defaults to null for the newest results."
              },
              {
                "name": "user",
                "value": "",
                "type": "query",
                "description": "Filter threads that belong to this user identifier. Defaults to null to return all users."
              }
            ]
          },
          "docs": "List ChatKit threads with optional pagination and user filters."
        }
      ]
    },
    {
      "info": {
        "name": "Conversations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all items for a conversation with the given ID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/conversations/:conversation_id/items",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation to list 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": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program)."
              }
            ]
          },
          "docs": "List all items for a conversation with the given ID."
        },
        {
          "info": {
            "name": "Create items in a conversation with the given ID.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/conversations/:conversation_id/items",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation to add the item to."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create items in a conversation with the given ID."
        },
        {
          "info": {
            "name": "Get a single item from a conversation with the given IDs.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/conversations/:conversation_id/items/:item_id",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation that contains the item."
              },
              {
                "name": "item_id",
                "value": "",
                "type": "path",
                "description": "The ID of the item to retrieve."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.\n"
              }
            ]
          },
          "docs": "Get a single item from a conversation with the given IDs."
        },
        {
          "info": {
            "name": "Delete an item from a conversation with the given IDs.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/conversations/:conversation_id/items/:item_id",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation that contains the item."
              },
              {
                "name": "item_id",
                "value": "",
                "type": "path",
                "description": "The ID of the item to delete."
              }
            ]
          },
          "docs": "Delete an item from a conversation with the given IDs."
        },
        {
          "info": {
            "name": "Create a conversation.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/conversations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a conversation."
        },
        {
          "info": {
            "name": "Get a conversation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/conversations/:conversation_id",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation to retrieve."
              }
            ]
          },
          "docs": "Get a conversation"
        },
        {
          "info": {
            "name": "Update a conversation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/conversations/:conversation_id",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a conversation"
        },
        {
          "info": {
            "name": "Delete a conversation. Items in the conversation will not be deleted.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/conversations/:conversation_id",
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "path",
                "description": "The ID of the conversation to delete."
              }
            ]
          },
          "docs": "Delete a conversation. Items in the conversation will not be deleted."
        }
      ]
    },
    {
      "info": {
        "name": "Embeddings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates an embedding vector representing the input text.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/embeddings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an embedding vector representing the input text."
        }
      ]
    },
    {
      "info": {
        "name": "Evals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List evaluations for a project.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/evals",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last eval from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of evals to retrieve."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for evals by timestamp. Use `asc` for ascending order or `desc` for descending order."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated time.\n"
              }
            ]
          },
          "docs": "List evaluations for a project.\n"
        },
        {
          "info": {
            "name": "Create the structure of an evaluation that can be used to test a model's performance.\nAn evaluation is a set of testing criteria and the config for a data source, which dictates the schema of the data used in the evaluation. After creating an evaluation, you can run it on different models and model parameters. We support several types of graders and datasources.\nFor more information, see the [Evals guide](/docs/guides/evals).\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/evals",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create the structure of an evaluation that can be used to test a model's performance.\nAn evaluation is a set of testing criteria and the config for a data source, which dictates the schema of the data used in the evaluation. After creating an evaluation, you can run it on different models and model parameters. We support several types of graders and datasources.\nFor more information, see the [Evals guide](/docs/guides/evals).\n"
        },
        {
          "info": {
            "name": "Get an evaluation by ID.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/evals/:eval_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to retrieve."
              }
            ]
          },
          "docs": "Get an evaluation by ID.\n"
        },
        {
          "info": {
            "name": "Update certain properties of an evaluation.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/evals/:eval_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update certain properties of an evaluation.\n"
        },
        {
          "info": {
            "name": "Delete an evaluation.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/evals/:eval_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to delete."
              }
            ]
          },
          "docs": "Delete an evaluation.\n"
        },
        {
          "info": {
            "name": "Get a list of runs for an evaluation.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to retrieve runs for."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last run from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of runs to retrieve."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter runs by status. One of `queued` | `in_progress` | `failed` | `completed` | `canceled`."
              }
            ]
          },
          "docs": "Get a list of runs for an evaluation.\n"
        },
        {
          "info": {
            "name": "Kicks off a new run for a given evaluation, specifying the data source, and what model configuration to use to test. The datasource will be validated against the schema specified in the config of the evaluation.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to create a run for."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Kicks off a new run for a given evaluation, specifying the data source, and what model configuration to use to test. The datasource will be validated against the schema specified in the config of the evaluation.\n"
        },
        {
          "info": {
            "name": "Get an evaluation run by ID.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs/:run_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to retrieve runs for."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to retrieve."
              }
            ]
          },
          "docs": "Get an evaluation run by ID.\n"
        },
        {
          "info": {
            "name": "Cancel an ongoing evaluation run.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs/:run_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation whose run you want to cancel."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to cancel."
              }
            ]
          },
          "docs": "Cancel an ongoing evaluation run.\n"
        },
        {
          "info": {
            "name": "Delete an eval run.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs/:run_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to delete the run from."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to delete."
              }
            ]
          },
          "docs": "Delete an eval run.\n"
        },
        {
          "info": {
            "name": "Get a list of output items for an evaluation run.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs/:run_id/output_items",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to retrieve runs for."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to retrieve output items for."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last output item from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of output items to retrieve."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter output items by status. Use `failed` to filter by failed output\nitems or `pass` to filter by passed output items.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `asc`."
              }
            ]
          },
          "docs": "Get a list of output items for an evaluation run.\n"
        },
        {
          "info": {
            "name": "Get an evaluation run output item by ID.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/evals/:eval_id/runs/:run_id/output_items/:output_item_id",
            "params": [
              {
                "name": "eval_id",
                "value": "",
                "type": "path",
                "description": "The ID of the evaluation to retrieve runs for."
              },
              {
                "name": "run_id",
                "value": "",
                "type": "path",
                "description": "The ID of the run to retrieve."
              },
              {
                "name": "output_item_id",
                "value": "",
                "type": "path",
                "description": "The ID of the output item to retrieve."
              }
            ]
          },
          "docs": "Get an evaluation run output item by ID.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of files.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/files",
            "params": [
              {
                "name": "purpose",
                "value": "",
                "type": "query",
                "description": "Only return files with the given purpose."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 10,000, and the default is 10,000.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              }
            ]
          },
          "docs": "Returns a list of files."
        },
        {
          "info": {
            "name": "Upload a file that can be used across various endpoints. Individual files\ncan be up to 512 MB, and each project can store up to 2.5 TB of files in\ntotal. There is no organization-wide storage limit. Uploads to this\nendpoint are rate-limited to 1,000 requests per minute per authenticated\nuser.\n\n- The Assistants API supports files up to 2 million tokens and of specific\n  file types. See the [Assistants Tools guide](/docs/assistants/tools) for\n  details.\n- The Fine-tuning API only supports `.jsonl` files. The input also has\n  certain required formats for fine-tuning\n  [chat](/docs/api-reference/fine-tuning/chat-input) or\n  [completions](/docs/api-reference/fine-tuning/completions-input) models.\n- The Batch API only supports `.jsonl` files up to 200 MB in size. The input\n  also has a specific required\n  [format](/docs/api-reference/batch/request-input).\n- For Retrieval or `file_search` ingestion, upload files here first. If\n  you need to attach multiple uploaded files to the same vector store, use\n  [`/vector_stores/{vector_store_id}/file_batches`](/docs/api-reference/vector-stores-file-batches/createBatch)\n  instead of attaching them one by one. Vector store attachment has separate\n  limits from file upload, including 2,000 attached files per minute per\n  organization.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these\nstorage limits.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/files",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Upload a file that can be used across various endpoints. Individual files\ncan be up to 512 MB, and each project can store up to 2.5 TB of files in\ntotal. There is no organization-wide storage limit. Uploads to this\nendpoint are rate-limited to 1,000 requests per minute per authenticated\nuser.\n\n- The Assistants API supports files up to 2 million tokens and of specific\n  file types. See the [Assistants Tools guide](/docs/assistants/tools) for\n  details.\n- The Fine-tuning API only supports `.jsonl`"
        },
        {
          "info": {
            "name": "Returns information about a specific file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/files/:file_id",
            "params": [
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to use for this request."
              }
            ]
          },
          "docs": "Returns information about a specific file."
        },
        {
          "info": {
            "name": "Delete a file and remove it from all vector stores.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/files/:file_id",
            "params": [
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to use for this request."
              }
            ]
          },
          "docs": "Delete a file and remove it from all vector stores."
        },
        {
          "info": {
            "name": "Returns the contents of the specified file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/files/:file_id/content",
            "params": [
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to use for this request."
              }
            ]
          },
          "docs": "Returns the contents of the specified file."
        }
      ]
    },
    {
      "info": {
        "name": "Fine-tuning",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Run a grader.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/alpha/graders/run",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Run a grader.\n"
        },
        {
          "info": {
            "name": "Validate a grader.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/alpha/graders/validate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validate a grader.\n"
        },
        {
          "info": {
            "name": "**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).\n\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/fine_tuning/checkpoints/:fine_tuned_model_checkpoint/permissions",
            "params": [
              {
                "name": "fine_tuned_model_checkpoint",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuned model checkpoint to get permissions for.\n"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query",
                "description": "The ID of the project to get permissions for."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last permission ID from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of permissions to retrieve."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "The order in which to retrieve permissions."
              }
            ]
          },
          "docs": "**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).\n\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.\n"
        },
        {
          "info": {
            "name": "**NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys).\n\nThis enables organization owners to share fine-tuned models with other projects in their organization.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/checkpoints/:fine_tuned_model_checkpoint/permissions",
            "params": [
              {
                "name": "fine_tuned_model_checkpoint",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuned model checkpoint to create a permission for.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys).\n\nThis enables organization owners to share fine-tuned models with other projects in their organization.\n"
        },
        {
          "info": {
            "name": "**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).\n\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/fine_tuning/checkpoints/:fine_tuned_model_checkpoint/permissions/:permission_id",
            "params": [
              {
                "name": "fine_tuned_model_checkpoint",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuned model checkpoint to delete a permission for.\n"
              },
              {
                "name": "permission_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuned model checkpoint permission to delete.\n"
              }
            ]
          },
          "docs": "**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).\n\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.\n"
        },
        {
          "info": {
            "name": "List your organization's fine-tuning jobs\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/fine_tuning/jobs",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last job from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of fine-tuning jobs to retrieve."
              },
              {
                "name": "metadata",
                "value": "",
                "type": "query",
                "description": "Optional metadata filter. To filter, use the syntax `metadata[k]=v`. Alternatively, set `metadata=null` to indicate no metadata.\n"
              }
            ]
          },
          "docs": "List your organization's fine-tuning jobs\n"
        },
        {
          "info": {
            "name": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/model-optimization)\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/jobs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/model-optimization)\n"
        },
        {
          "info": {
            "name": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/model-optimization)\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/fine_tuning/jobs/:fine_tuning_job_id",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job.\n"
              }
            ]
          },
          "docs": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/model-optimization)\n"
        },
        {
          "info": {
            "name": "Immediately cancel a fine-tune job.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/jobs/:fine_tuning_job_id/cancel",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to cancel.\n"
              }
            ]
          },
          "docs": "Immediately cancel a fine-tune job.\n"
        },
        {
          "info": {
            "name": "List checkpoints for a fine-tuning job.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/fine_tuning/jobs/:fine_tuning_job_id/checkpoints",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to get checkpoints for.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last checkpoint ID from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of checkpoints to retrieve."
              }
            ]
          },
          "docs": "List checkpoints for a fine-tuning job.\n"
        },
        {
          "info": {
            "name": "Get status updates for a fine-tuning job.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/fine_tuning/jobs/:fine_tuning_job_id/events",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to get events for.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last event from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of events to retrieve."
              }
            ]
          },
          "docs": "Get status updates for a fine-tuning job.\n"
        },
        {
          "info": {
            "name": "Pause a fine-tune job.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/jobs/:fine_tuning_job_id/pause",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to pause.\n"
              }
            ]
          },
          "docs": "Pause a fine-tune job.\n"
        },
        {
          "info": {
            "name": "Resume a fine-tune job.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/fine_tuning/jobs/:fine_tuning_job_id/resume",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to resume.\n"
              }
            ]
          },
          "docs": "Resume a fine-tune job.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Images",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates an edited or extended image given one or more source images and a prompt. This endpoint supports GPT Image models (`gpt-image-1.5`, `gpt-image-1`, `gpt-image-1-mini`, and `chatgpt-image-latest`) and `dall-e-2`.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/images/edits",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "You can call this endpoint with either:\n\n- `multipart/form-data`: use binary uploads via `image` (and optional `mask`).\n- `application/json`: use `images` (and optional `mask`) as references with either `image_url` or `file_id`.\n\nNote that JSON requests use `images` (array) instead of the multipart `image` field.\n"
        },
        {
          "info": {
            "name": "Creates an image given a prompt. [Learn more](/docs/guides/images).\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/images/generations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an image given a prompt. [Learn more](/docs/guides/images).\n"
        },
        {
          "info": {
            "name": "Creates a variation of a given image. This endpoint only supports `dall-e-2`.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/images/variations",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Creates a variation of a given image. This endpoint only supports `dall-e-2`."
        }
      ]
    },
    {
      "info": {
        "name": "Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the currently available models, and provides basic information about each one such as the owner and availability.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/models"
          },
          "docs": "Lists the currently available models, and provides basic information about each one such as the owner and availability."
        },
        {
          "info": {
            "name": "Retrieves a model instance, providing basic information about the model such as the owner and permissioning.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/models/:model",
            "params": [
              {
                "name": "model",
                "value": "",
                "type": "path",
                "description": "The ID of the model to use for this request"
              }
            ]
          },
          "docs": "Retrieves a model instance, providing basic information about the model such as the owner and permissioning."
        },
        {
          "info": {
            "name": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/models/:model",
            "params": [
              {
                "name": "model",
                "value": "",
                "type": "path",
                "description": "The model to delete"
              }
            ]
          },
          "docs": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model."
        }
      ]
    },
    {
      "info": {
        "name": "Moderations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Classifies if text and/or image inputs are potentially harmful. Learn\nmore in the [moderation guide](/docs/guides/moderation).\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/moderations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Classifies if text and/or image inputs are potentially harmful. Learn\nmore in the [moderation guide](/docs/guides/moderation).\n"
        }
      ]
    },
    {
      "info": {
        "name": "Audit Logs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List user actions and configuration changes within this organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/audit_logs",
            "params": [
              {
                "name": "effective_at",
                "value": "",
                "type": "query",
                "description": "Return only events whose `effective_at` (Unix seconds) is in this range."
              },
              {
                "name": "project_ids[]",
                "value": "",
                "type": "query",
                "description": "Return only events for these projects."
              },
              {
                "name": "event_types[]",
                "value": "",
                "type": "query",
                "description": "Return only events with a `type` in one of these values. For example, `project.created`. For all options, see the documentation for the [audit log object](/docs/api-reference/audit-logs/object)."
              },
              {
                "name": "actor_ids[]",
                "value": "",
                "type": "query",
                "description": "Return only events performed by these actors. Can be a user ID, a service account ID, or an api key tracking ID."
              },
              {
                "name": "actor_emails[]",
                "value": "",
                "type": "query",
                "description": "Return only events performed by users with these emails."
              },
              {
                "name": "resource_ids[]",
                "value": "",
                "type": "query",
                "description": "Return only events performed on these targets. For example, a project ID updated."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List user actions and configuration changes within this organization."
        }
      ]
    },
    {
      "info": {
        "name": "Certificates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List uploaded certificates for this organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/certificates",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List uploaded certificates for this organization."
        },
        {
          "info": {
            "name": "Upload a certificate to the organization. This does **not** automatically activate the certificate.\n\nOrganizations can upload up to 50 certificates.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/certificates",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Upload a certificate to the organization. This does **not** automatically activate the certificate.\n\nOrganizations can upload up to 50 certificates.\n"
        },
        {
          "info": {
            "name": "Activate certificates at the organization level.\n\nYou can atomically and idempotently activate up to 10 certificates at a time.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/certificates/activate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Activate certificates at the organization level.\n\nYou can atomically and idempotently activate up to 10 certificates at a time.\n"
        },
        {
          "info": {
            "name": "Deactivate certificates at the organization level.\n\nYou can atomically and idempotently deactivate up to 10 certificates at a time.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/certificates/deactivate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deactivate certificates at the organization level.\n\nYou can atomically and idempotently deactivate up to 10 certificates at a time.\n"
        },
        {
          "info": {
            "name": "Get a certificate that has been uploaded to the organization.\n\nYou can get a certificate regardless of whether it is active or not.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/certificates/:certificate_id",
            "params": [
              {
                "name": "certificate_id",
                "value": "",
                "type": "path",
                "description": "Unique ID of the certificate to retrieve."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "A list of additional fields to include in the response. Currently the only supported value is `content` to fetch the PEM content of the certificate."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a certificate that has been uploaded to the organization.\n\nYou can get a certificate regardless of whether it is active or not.\n"
        },
        {
          "info": {
            "name": "Modify a certificate. Note that only the name can be modified.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/certificates/:certificate_id",
            "params": [
              {
                "name": "certificate_id",
                "value": "",
                "type": "path",
                "description": "Unique ID of the certificate to modify."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Modify a certificate. Note that only the name can be modified.\n"
        },
        {
          "info": {
            "name": "Delete a certificate from the organization.\n\nThe certificate must be inactive for the organization and all projects.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/certificates/:certificate_id",
            "params": [
              {
                "name": "certificate_id",
                "value": "",
                "type": "path",
                "description": "Unique ID of the certificate to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a certificate from the organization.\n\nThe certificate must be inactive for the organization and all projects.\n"
        },
        {
          "info": {
            "name": "List certificates for this project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/certificates",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List certificates for this project."
        },
        {
          "info": {
            "name": "Activate certificates at the project level.\n\nYou can atomically and idempotently activate up to 10 certificates at a time.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/certificates/activate",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Activate certificates at the project level.\n\nYou can atomically and idempotently activate up to 10 certificates at a time.\n"
        },
        {
          "info": {
            "name": "Deactivate certificates at the project level. You can atomically and \nidempotently deactivate up to 10 certificates at a time.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/certificates/deactivate",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deactivate certificates at the project level. You can atomically and \nidempotently deactivate up to 10 certificates at a time.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Usage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get costs details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/costs",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently only `1d` is supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only costs for these projects."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only costs for these API keys."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the costs by the specified fields. Support fields include `project_id`, `line_item`, `api_key_id` and any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of buckets to be returned. Limit can range between 1 and 180, and the default is 7.\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get costs details for the organization."
        },
        {
          "info": {
            "name": "Get audio speeches usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/audio_speeches",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these users."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these API keys."
              },
              {
                "name": "models",
                "value": "",
                "type": "query",
                "description": "Return only usage for these models."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model` or any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get audio speeches usage details for the organization."
        },
        {
          "info": {
            "name": "Get audio transcriptions usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/audio_transcriptions",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these users."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these API keys."
              },
              {
                "name": "models",
                "value": "",
                "type": "query",
                "description": "Return only usage for these models."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model` or any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get audio transcriptions usage details for the organization."
        },
        {
          "info": {
            "name": "Get code interpreter sessions usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/code_interpreter_sessions",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get code interpreter sessions usage details for the organization."
        },
        {
          "info": {
            "name": "Get completions usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/completions",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these users."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these API keys."
              },
              {
                "name": "models",
                "value": "",
                "type": "query",
                "description": "Return only usage for these models."
              },
              {
                "name": "batch",
                "value": "",
                "type": "query",
                "description": "If `true`, return batch jobs only. If `false`, return non-batch jobs only. By default, return both.\n"
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model`, `batch`, `service_tier` or any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get completions usage details for the organization."
        },
        {
          "info": {
            "name": "Get embeddings usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/embeddings",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these users."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these API keys."
              },
              {
                "name": "models",
                "value": "",
                "type": "query",
                "description": "Return only usage for these models."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model` or any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get embeddings usage details for the organization."
        },
        {
          "info": {
            "name": "Get images usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/images",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "sources",
                "value": "",
                "type": "query",
                "description": "Return only usages for these sources. Possible values are `image.generation`, `image.edit`, `image.variation` or any combination of them."
              },
              {
                "name": "sizes",
                "value": "",
                "type": "query",
                "description": "Return only usages for these image sizes. Possible values are `256x256`, `512x512`, `1024x1024`, `1792x1792`, `1024x1792` or any combination of them."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these users."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these API keys."
              },
              {
                "name": "models",
                "value": "",
                "type": "query",
                "description": "Return only usage for these models."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model`, `size`, `source` or any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get images usage details for the organization."
        },
        {
          "info": {
            "name": "Get moderations usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/moderations",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these users."
              },
              {
                "name": "api_key_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these API keys."
              },
              {
                "name": "models",
                "value": "",
                "type": "query",
                "description": "Return only usage for these models."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model` or any combination of them."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get moderations usage details for the organization."
        },
        {
          "info": {
            "name": "Get vector stores usage details for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/usage/vector_stores",
            "params": [
              {
                "name": "start_time",
                "value": "",
                "type": "query",
                "description": "Start time (Unix seconds) of the query time range, inclusive."
              },
              {
                "name": "end_time",
                "value": "",
                "type": "query",
                "description": "End time (Unix seconds) of the query time range, exclusive."
              },
              {
                "name": "bucket_width",
                "value": "",
                "type": "query",
                "description": "Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "Return only usage for these projects."
              },
              {
                "name": "group_by",
                "value": "",
                "type": "query",
                "description": "Group the usage data by the specified fields. Support fields include `project_id`."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Specifies the number of buckets to return.\n- `bucket_width=1d`: default: 7, max: 31\n- `bucket_width=1h`: default: 24, max: 168\n- `bucket_width=1m`: default: 60, max: 1440\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get vector stores usage details for the organization."
        }
      ]
    },
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists all groups in the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/groups",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of groups to be returned. Limit can range between 0 and 1000, and the default is 100.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is a group ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with group_abc, your subsequent call can include `after=group_abc` in order to fetch the next page of the list.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Specifies the sort order of the returned groups."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all groups in the organization."
        },
        {
          "info": {
            "name": "Creates a new group in the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/groups",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new group in the organization."
        },
        {
          "info": {
            "name": "Updates a group's information.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/groups/:group_id",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates a group's information."
        },
        {
          "info": {
            "name": "Deletes a group from the organization.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/groups/:group_id",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a group from the organization."
        }
      ]
    },
    {
      "info": {
        "name": "Group organization role assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the organization roles assigned to a group within the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/groups/:group_id/roles",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group whose organization role assignments you want to list."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of organization role assignments to return."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the value from the previous response's `next` field to continue listing organization roles."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned organization roles."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the organization roles assigned to a group within the organization."
        },
        {
          "info": {
            "name": "Assigns an organization role to a group within the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/groups/:group_id/roles",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group that should receive the organization role."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns an organization role to a group within the organization."
        },
        {
          "info": {
            "name": "Unassigns an organization role from a group within the organization.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/groups/:group_id/roles/:role_id",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to modify."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the organization role to remove from the group."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns an organization role from a group within the organization."
        }
      ]
    },
    {
      "info": {
        "name": "Group users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the users assigned to a group.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/groups/:group_id/users",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to inspect."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of users to be returned. Limit can range between 0 and 1000, and the default is 100.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. Provide the ID of the last user from the previous list response to retrieve the next page.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Specifies the sort order of users in the list."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the users assigned to a group."
        },
        {
          "info": {
            "name": "Adds a user to a group.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/groups/:group_id/users",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Adds a user to a group."
        },
        {
          "info": {
            "name": "Removes a user from a group.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/groups/:group_id/users/:user_id",
            "params": [
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to update."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user to remove from the group."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Removes a user from a group."
        }
      ]
    },
    {
      "info": {
        "name": "Invites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of invites in the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/invites",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of invites in the organization."
        },
        {
          "info": {
            "name": "Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/invites",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization."
        },
        {
          "info": {
            "name": "Retrieves an invite.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/invites/:invite_id",
            "params": [
              {
                "name": "invite_id",
                "value": "",
                "type": "path",
                "description": "The ID of the invite to retrieve."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves an invite."
        },
        {
          "info": {
            "name": "Delete an invite. If the invite has already been accepted, it cannot be deleted.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/invites/:invite_id",
            "params": [
              {
                "name": "invite_id",
                "value": "",
                "type": "path",
                "description": "The ID of the invite to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an invite. If the invite has already been accepted, it cannot be deleted."
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of projects.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "include_archived",
                "value": "",
                "type": "query",
                "description": "If `true` returns all projects including those that have been `archived`. Archived projects are not included by default."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of projects."
        },
        {
          "info": {
            "name": "Create a new project in the organization. Projects can be created and archived, but cannot be deleted.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new project in the organization. Projects can be created and archived, but cannot be deleted."
        },
        {
          "info": {
            "name": "Retrieves a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a project."
        },
        {
          "info": {
            "name": "Modifies a project in the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Modifies a project in the organization."
        },
        {
          "info": {
            "name": "Returns a list of API keys in the project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/api_keys",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of API keys in the project."
        },
        {
          "info": {
            "name": "Retrieves an API key in the project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/api_keys/:api_key_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "api_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the API key."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves an API key in the project."
        },
        {
          "info": {
            "name": "Deletes an API key from the project.\n\nReturns confirmation of the key deletion, or an error if the key belonged to\na service account.\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/api_keys/:api_key_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "api_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the API key."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an API key from the project.\n\nReturns confirmation of the key deletion, or an error if the key belonged to\na service account.\n"
        },
        {
          "info": {
            "name": "Archives a project in the organization. Archived projects cannot be used or updated.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/archive",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Archives a project in the organization. Archived projects cannot be used or updated."
        },
        {
          "info": {
            "name": "Returns the rate limits per model for a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/rate_limits",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. The default is 100.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, beginning with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the rate limits per model for a project."
        },
        {
          "info": {
            "name": "Updates a project rate limit.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/rate_limits/:rate_limit_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "rate_limit_id",
                "value": "",
                "type": "path",
                "description": "The ID of the rate limit."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates a project rate limit."
        },
        {
          "info": {
            "name": "Returns a list of service accounts in the project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/service_accounts",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of service accounts in the project."
        },
        {
          "info": {
            "name": "Creates a new service account in the project. This also returns an unredacted API key for the service account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/service_accounts",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new service account in the project. This also returns an unredacted API key for the service account."
        },
        {
          "info": {
            "name": "Retrieves a service account in the project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/service_accounts/:service_account_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a service account in the project."
        },
        {
          "info": {
            "name": "Deletes a service account from the project.\n\nReturns confirmation of service account deletion, or an error if the project\nis archived (archived projects have no service accounts).\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/service_accounts/:service_account_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a service account from the project.\n\nReturns confirmation of service account deletion, or an error if the project\nis archived (archived projects have no service accounts).\n"
        },
        {
          "info": {
            "name": "Returns a list of users in the project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/users",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of users in the project."
        },
        {
          "info": {
            "name": "Adds a user to the project. Users must already be members of the organization to be added to a project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/users",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Adds a user to the project. Users must already be members of the organization to be added to a project."
        },
        {
          "info": {
            "name": "Retrieves a user in the project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/users/:user_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a user in the project."
        },
        {
          "info": {
            "name": "Modifies a user's role in the project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/users/:user_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Modifies a user's role in the project."
        },
        {
          "info": {
            "name": "Deletes a user from the project.\n\nReturns confirmation of project user deletion, or an error if the project is\narchived (archived projects have no users).\n",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/users/:user_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a user from the project.\n\nReturns confirmation of project user deletion, or an error if the project is\narchived (archived projects have no users).\n"
        }
      ]
    },
    {
      "info": {
        "name": "Project groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the groups that have access to a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/groups",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to inspect."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of project groups to return. Defaults to 20."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the ID of the last group from the previous response to fetch the next page."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned groups."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the groups that have access to a project."
        },
        {
          "info": {
            "name": "Grants a group access to a project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/groups",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Grants a group access to a project."
        },
        {
          "info": {
            "name": "Revokes a group's access to a project.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/projects/:project_id/groups/:group_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to remove from the project."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Revokes a group's access to a project."
        }
      ]
    },
    {
      "info": {
        "name": "Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the roles configured for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/roles",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of roles to return. Defaults to 1000."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the value from the previous response's `next` field to continue listing roles."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned roles."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the roles configured for the organization."
        },
        {
          "info": {
            "name": "Creates a custom role for the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/roles",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a custom role for the organization."
        },
        {
          "info": {
            "name": "Updates an existing organization role.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/roles/:role_id",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the role to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing organization role."
        },
        {
          "info": {
            "name": "Deletes a custom role from the organization.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/roles/:role_id",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the role to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a custom role from the organization."
        },
        {
          "info": {
            "name": "Lists the roles configured for a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/projects/:project_id/roles",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to inspect."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of roles to return. Defaults to 1000."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the value from the previous response's `next` field to continue listing roles."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned roles."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the roles configured for a project."
        },
        {
          "info": {
            "name": "Creates a custom role for a project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/projects/:project_id/roles",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a custom role for a project."
        },
        {
          "info": {
            "name": "Updates an existing project role.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/projects/:project_id/roles/:role_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the role to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing project role."
        },
        {
          "info": {
            "name": "Deletes a custom role from a project.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/projects/:project_id/roles/:role_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the role to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a custom role from a project."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists all of the users in the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/users",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "emails",
                "value": "",
                "type": "query",
                "description": "Filter by the email address of users."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all of the users in the organization."
        },
        {
          "info": {
            "name": "Retrieves a user by their identifier.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a user by their identifier."
        },
        {
          "info": {
            "name": "Modifies a user's role in the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Modifies a user's role in the organization."
        },
        {
          "info": {
            "name": "Deletes a user from the organization.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a user from the organization."
        }
      ]
    },
    {
      "info": {
        "name": "User organization role assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the organization roles assigned to a user within the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/organization/users/:user_id/roles",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user to inspect."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of organization role assignments to return."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the value from the previous response's `next` field to continue listing organization roles."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned organization roles."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the organization roles assigned to a user within the organization."
        },
        {
          "info": {
            "name": "Assigns an organization role to a user within the organization.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/organization/users/:user_id/roles",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user that should receive the organization role."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns an organization role to a user within the organization."
        },
        {
          "info": {
            "name": "Unassigns an organization role from a user within the organization.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/organization/users/:user_id/roles/:role_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user to modify."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the organization role to remove from the user."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns an organization role from a user within the organization."
        }
      ]
    },
    {
      "info": {
        "name": "Project group role assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the project roles assigned to a group within a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/projects/:project_id/groups/:group_id/roles",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to inspect."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group to inspect."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of project role assignments to return."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the value from the previous response's `next` field to continue listing project roles."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned project roles."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the project roles assigned to a group within a project."
        },
        {
          "info": {
            "name": "Assigns a project role to a group within a project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/projects/:project_id/groups/:group_id/roles",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group that should receive the project role."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns a project role to a group within a project."
        },
        {
          "info": {
            "name": "Unassigns a project role from a group within a project.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/projects/:project_id/groups/:group_id/roles/:role_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to modify."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "path",
                "description": "The ID of the group whose project role assignment should be removed."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project role to remove from the group."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns a project role from a group within a project."
        }
      ]
    },
    {
      "info": {
        "name": "Project user role assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists the project roles assigned to a user within a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/projects/:project_id/users/:user_id/roles",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to inspect."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user to inspect."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of project role assignments to return."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Provide the value from the previous response's `next` field to continue listing project roles."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order for the returned project roles."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the project roles assigned to a user within a project."
        },
        {
          "info": {
            "name": "Assigns a project role to a user within a project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/projects/:project_id/users/:user_id/roles",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to update."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user that should receive the project role."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns a project role to a user within a project."
        },
        {
          "info": {
            "name": "Unassigns a project role from a user within a project.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/projects/:project_id/users/:user_id/roles/:role_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project to modify."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user whose project role assignment should be removed."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project role to remove from the user."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns a project role from a user within a project."
        }
      ]
    },
    {
      "info": {
        "name": "Realtime",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a new Realtime API call over WebRTC and receive the SDP answer needed\nto complete the peer connection.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/calls",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Create a new Realtime API call over WebRTC and receive the SDP answer needed\nto complete the peer connection."
        },
        {
          "info": {
            "name": "Accept an incoming SIP call and configure the realtime session that will\nhandle it.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/calls/:call_id/accept",
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path",
                "description": "The identifier for the call provided in the\n[`realtime.call.incoming`](/docs/api-reference/webhook-events/realtime/call/incoming)\nwebhook."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Accept an incoming SIP call and configure the realtime session that will\nhandle it."
        },
        {
          "info": {
            "name": "End an active Realtime API call, whether it was initiated over SIP or\nWebRTC.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/calls/:call_id/hangup",
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path",
                "description": "The identifier for the call. For SIP calls, use the value provided in the\n[`realtime.call.incoming`](/docs/api-reference/webhook-events/realtime/call/incoming)\nwebhook. For WebRTC sessions, reuse the call ID returned in the `Location`\nheader when creating the call with\n[`POST /v1/realtime/calls`](/docs/api-reference/realtime/create-call)."
              }
            ]
          },
          "docs": "End an active Realtime API call, whether it was initiated over SIP or\nWebRTC."
        },
        {
          "info": {
            "name": "Transfer an active SIP call to a new destination using the SIP REFER verb.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/calls/:call_id/refer",
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path",
                "description": "The identifier for the call provided in the\n[`realtime.call.incoming`](/docs/api-reference/webhook-events/realtime/call/incoming)\nwebhook."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transfer an active SIP call to a new destination using the SIP REFER verb."
        },
        {
          "info": {
            "name": "Decline an incoming SIP call by returning a SIP status code to the caller.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/calls/:call_id/reject",
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path",
                "description": "The identifier for the call provided in the\n[`realtime.call.incoming`](/docs/api-reference/webhook-events/realtime/call/incoming)\nwebhook."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Decline an incoming SIP call by returning a SIP status code to the caller."
        },
        {
          "info": {
            "name": "Create a Realtime client secret with an associated session configuration.\n\nClient secrets are short-lived tokens that can be passed to a client app,\nsuch as a web frontend or mobile client, which grants access to the Realtime API without\nleaking your main API key. You can configure a custom TTL for each client secret.\n\nYou can also attach session configuration options to the client secret, which will be\napplied to any sessions created using that client secret, but these can also be overridden\nby the client connection.\n\n[Learn more about authentication with client secrets over WebRTC](/docs/guides/realtime-webrtc).\n\nReturns the created client secret and the effective session object. The client secret is a string that looks like `ek_1234`.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/client_secrets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Realtime client secret with an associated session configuration.\n\nClient secrets are short-lived tokens that can be passed to a client app,\nsuch as a web frontend or mobile client, which grants access to the Realtime API without\nleaking your main API key. You can configure a custom TTL for each client secret.\n\nYou can also attach session configuration options to the client secret, which will be\napplied to any sessions created using that client secret, but these can also be overridden\nby"
        },
        {
          "info": {
            "name": "Create an ephemeral API token for use in client-side applications with the\nRealtime API. Can be configured with the same session parameters as the\n`session.update` client event.\n\nIt responds with a session object, plus a `client_secret` key which contains\na usable ephemeral API token that can be used to authenticate browser clients\nfor the Realtime API.\n\nReturns the created Realtime session object, plus an ephemeral key.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/sessions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an ephemeral API token for use in client-side applications with the\nRealtime API. Can be configured with the same session parameters as the\n`session.update` client event.\n\nIt responds with a session object, plus a `client_secret` key which contains\na usable ephemeral API token that can be used to authenticate browser clients\nfor the Realtime API.\n\nReturns the created Realtime session object, plus an ephemeral key.\n"
        },
        {
          "info": {
            "name": "Create an ephemeral API token for use in client-side applications with the\nRealtime API specifically for realtime transcriptions. \nCan be configured with the same session parameters as the `transcription_session.update` client event.\n\nIt responds with a session object, plus a `client_secret` key which contains\na usable ephemeral API token that can be used to authenticate browser clients\nfor the Realtime API.\n\nReturns the created Realtime transcription session object, plus an ephemeral key.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/transcription_sessions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an ephemeral API token for use in client-side applications with the\nRealtime API specifically for realtime transcriptions. \nCan be configured with the same session parameters as the `transcription_session.update` client event.\n\nIt responds with a session object, plus a `client_secret` key which contains\na usable ephemeral API token that can be used to authenticate browser clients\nfor the Realtime API.\n\nReturns the created Realtime transcription session object, plus an ephemeral key.\n"
        },
        {
          "info": {
            "name": "Create a Realtime translation client secret with an associated translation session configuration.\n\nClient secrets are short-lived tokens that can be passed to a client app,\nsuch as a web frontend or mobile client, which grants access to the Realtime\nTranslation API without leaking your main API key. You can configure a custom\nTTL for each client secret.\n\nReturns the created client secret and the effective translation session object.\nThe client secret is a string that looks like `ek_1234`.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/realtime/translations/client_secrets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Realtime translation client secret with an associated translation session configuration.\n\nClient secrets are short-lived tokens that can be passed to a client app,\nsuch as a web frontend or mobile client, which grants access to the Realtime\nTranslation API without leaking your main API key. You can configure a custom\nTTL for each client secret.\n\nReturns the created client secret and the effective translation session object.\nThe client secret is a string that looks like `ek_1234`.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Responses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates a model response. Provide [text](/docs/guides/text) or\n[image](/docs/guides/images) inputs to generate [text](/docs/guides/text)\nor [JSON](/docs/guides/structured-outputs) outputs. Have the model call\nyour own [custom code](/docs/guides/function-calling) or use built-in\n[tools](/docs/guides/tools) like [web search](/docs/guides/tools-web-search)\nor [file search](/docs/guides/tools-file-search) to use your own data\nas input for the model's response.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/responses",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a model response. Provide [text](/docs/guides/text) or\n[image](/docs/guides/images) inputs to generate [text](/docs/guides/text)\nor [JSON](/docs/guides/structured-outputs) outputs. Have the model call\nyour own [custom code](/docs/guides/function-calling) or use built-in\n[tools](/docs/guides/tools) like [web search](/docs/guides/tools-web-search)\nor [file search](/docs/guides/tools-file-search) to use your own data\nas input for the model's response.\n"
        },
        {
          "info": {
            "name": "Retrieves a model response with the given ID.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/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).\nSee the [Streaming section below](/docs/api-reference/responses-streaming)\nfor more information.\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. You can set\n`include_obfuscation` to false to optimize for bandwidth if you trust\nthe network links between your application and the OpenAI API.\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.openai.com/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": "Cancels a model response with the given ID. Only responses created with\nthe `background` parameter set to `true` can be cancelled. \n[Learn more](/docs/guides/background).\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/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[Learn more](/docs/guides/background).\n"
        },
        {
          "info": {
            "name": "Returns a list of input items for a given response.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/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": "Uploads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object\nthat you can add [Parts](/docs/api-reference/uploads/part-object) to.\nCurrently, an Upload can accept at most 8 GB in total and expires after an\nhour after you create it.\n\nOnce you complete the Upload, we will create a\n[File](/docs/api-reference/files/object) object that contains all the parts\nyou uploaded. This File is usable in the rest of our platform as a regular\nFile object.\n\nFor certain `purpose` values, the correct `mime_type` must be specified. \nPlease refer to documentation for the \n[supported MIME types for your use case](/docs/assistants/tools/file-search#supported-files).\n\nFor guidance on the proper filename extensions for each purpose, please\nfollow the documentation on [creating a\nFile](/docs/api-reference/files/create).\n\nReturns the Upload object with status `pending`.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/uploads",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object\nthat you can add [Parts](/docs/api-reference/uploads/part-object) to.\nCurrently, an Upload can accept at most 8 GB in total and expires after an\nhour after you create it.\n\nOnce you complete the Upload, we will create a\n[File](/docs/api-reference/files/object) object that contains all the parts\nyou uploaded. This File is usable in the rest of our platform as a regular\nFile object.\n\nFor certain `purpose` values, the correc"
        },
        {
          "info": {
            "name": "Cancels the Upload. No Parts may be added after an Upload is cancelled.\n\nReturns the Upload object with status `cancelled`.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/uploads/:upload_id/cancel",
            "params": [
              {
                "name": "upload_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Upload.\n"
              }
            ]
          },
          "docs": "Cancels the Upload. No Parts may be added after an Upload is cancelled.\n\nReturns the Upload object with status `cancelled`.\n"
        },
        {
          "info": {
            "name": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.\nReturns the Upload object with status `completed`, including an additional `file` property containing the created usable File object.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/uploads/:upload_id/complete",
            "params": [
              {
                "name": "upload_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Upload.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.\nReturns the Upload"
        },
        {
          "info": {
            "name": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/uploads/:upload_id/parts",
            "params": [
              {
                "name": "upload_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Upload.\n"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).\n"
        }
      ]
    },
    {
      "info": {
        "name": "Vector stores",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of vector stores.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              }
            ]
          },
          "docs": "Returns a list of vector stores."
        },
        {
          "info": {
            "name": "Create a vector store.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a vector store."
        },
        {
          "info": {
            "name": "Retrieves a vector store.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store to retrieve."
              }
            ]
          },
          "docs": "Retrieves a vector store."
        },
        {
          "info": {
            "name": "Modifies a vector store.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store to modify."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies a vector store."
        },
        {
          "info": {
            "name": "Delete a vector store.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store to delete."
              }
            ]
          },
          "docs": "Delete a vector store."
        },
        {
          "info": {
            "name": "Create a vector store file batch.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/file_batches",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store for which to create a File Batch.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The maximum number of files in a single batch request is 2000.\nVector store file attach requests are rate limited per vector store (300 requests per minute across both this endpoint and `/vector_stores/{vector_store_id}/files`).\nFor ingesting multiple files into the same vector store, this batch endpoint is recommended.\n"
        },
        {
          "info": {
            "name": "Retrieves a vector store file batch.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/file_batches/:batch_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store that the file batch belongs to."
              },
              {
                "name": "batch_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file batch being retrieved."
              }
            ]
          },
          "docs": "Retrieves a vector store file batch."
        },
        {
          "info": {
            "name": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/file_batches/:batch_id/cancel",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store that the file batch belongs to."
              },
              {
                "name": "batch_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file batch to cancel."
              }
            ]
          },
          "docs": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible."
        },
        {
          "info": {
            "name": "Returns a list of vector store files in a batch.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/file_batches/:batch_id/files",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store that the files belong to."
              },
              {
                "name": "batch_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file batch that the files belong to."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`."
              }
            ]
          },
          "docs": "Returns a list of vector store files in a batch."
        },
        {
          "info": {
            "name": "Returns a list of vector store files.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/files",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store that the files belong to."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`."
              }
            ]
          },
          "docs": "Returns a list of vector store files."
        },
        {
          "info": {
            "name": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/files",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store for which to create a File.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint is subject to a per-vector-store write rate limit of 300 requests per minute, shared with `/vector_stores/{vector_store_id}/file_batches`.\nFor uploading multiple files to the same vector store, use the file batches endpoint to reduce request volume."
        },
        {
          "info": {
            "name": "Retrieves a vector store file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/files/:file_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store that the file belongs to."
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file being retrieved."
              }
            ]
          },
          "docs": "Retrieves a vector store file."
        },
        {
          "info": {
            "name": "Update attributes on a vector store file.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/files/:file_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store the file belongs to."
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to update attributes."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update attributes on a vector store file."
        },
        {
          "info": {
            "name": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/files/:file_id",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store that the file belongs to."
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to delete."
              }
            ]
          },
          "docs": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint."
        },
        {
          "info": {
            "name": "Retrieve the parsed contents of a vector store file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/files/:file_id/content",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store."
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file within the vector store."
              }
            ]
          },
          "docs": "Retrieve the parsed contents of a vector store file."
        },
        {
          "info": {
            "name": "Search a vector store for relevant chunks based on a query and file attributes filter.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/vector_stores/:vector_store_id/search",
            "params": [
              {
                "name": "vector_store_id",
                "value": "",
                "type": "path",
                "description": "The ID of the vector store to search."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search a vector store for relevant chunks based on a query and file attributes filter."
        }
      ]
    },
    {
      "info": {
        "name": "Videos",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List recently generated videos for the current project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/videos",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items to retrieve"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last item from the previous pagination request"
              }
            ]
          },
          "docs": "List recently generated videos for the current project."
        },
        {
          "info": {
            "name": "Create a new video generation job from a prompt and optional reference assets.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/videos",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new video generation job from a prompt and optional reference assets."
        },
        {
          "info": {
            "name": "Create a character from an uploaded video.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/videos/characters",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Create a character from an uploaded video."
        },
        {
          "info": {
            "name": "Fetch a character.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/videos/characters/:character_id",
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the character to retrieve."
              }
            ]
          },
          "docs": "Fetch a character."
        },
        {
          "info": {
            "name": "Create a new video generation job by editing a source video or existing generated video.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/videos/edits",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new video generation job by editing a source video or existing generated video."
        },
        {
          "info": {
            "name": "Create an extension of a completed video.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/videos/extensions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an extension of a completed video."
        },
        {
          "info": {
            "name": "Fetch the latest metadata for a generated video.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/videos/:video_id",
            "params": [
              {
                "name": "video_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the video to retrieve."
              }
            ]
          },
          "docs": "Fetch the latest metadata for a generated video."
        },
        {
          "info": {
            "name": "Permanently delete a completed or failed video and its stored assets.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/videos/:video_id",
            "params": [
              {
                "name": "video_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the video to delete."
              }
            ]
          },
          "docs": "Permanently delete a completed or failed video and its stored assets."
        },
        {
          "info": {
            "name": "Download the generated video bytes or a derived preview asset.\n\nStreams the rendered video content for the specified video job.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/videos/:video_id/content",
            "params": [
              {
                "name": "video_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the video whose media to download."
              },
              {
                "name": "variant",
                "value": "",
                "type": "query",
                "description": "Which downloadable asset to return. Defaults to the MP4 video."
              }
            ]
          },
          "docs": "Download the generated video bytes or a derived preview asset.\n\nStreams the rendered video content for the specified video job."
        },
        {
          "info": {
            "name": "Create a remix of a completed video using a refreshed prompt.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/videos/:video_id/remix",
            "params": [
              {
                "name": "video_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the completed video to remix."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a remix of a completed video using a refreshed prompt."
        }
      ]
    },
    {
      "info": {
        "name": "Skills",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all skills for the current project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/skills",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items to retrieve"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last item from the previous pagination request"
              }
            ]
          },
          "docs": "List all skills for the current project."
        },
        {
          "info": {
            "name": "Create a new skill.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/skills",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new skill."
        },
        {
          "info": {
            "name": "Get a skill by its ID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/skills/:skill_id",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill to retrieve."
              }
            ]
          },
          "docs": "Get a skill by its ID."
        },
        {
          "info": {
            "name": "Update the default version pointer for a skill.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/skills/:skill_id",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the default version pointer for a skill."
        },
        {
          "info": {
            "name": "Delete a skill by its ID.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/skills/:skill_id",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill to delete."
              }
            ]
          },
          "docs": "Delete a skill by its ID."
        },
        {
          "info": {
            "name": "Download a skill zip bundle by its ID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/skills/:skill_id/content",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill to download."
              }
            ]
          },
          "docs": "Download a skill zip bundle by its ID."
        },
        {
          "info": {
            "name": "List skill versions for a skill.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/skills/:skill_id/versions",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of versions to retrieve."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order of results by version number."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "The skill version ID to start after."
              }
            ]
          },
          "docs": "List skill versions for a skill."
        },
        {
          "info": {
            "name": "Create a new immutable skill version.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/skills/:skill_id/versions",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill to version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new immutable skill version."
        },
        {
          "info": {
            "name": "Get a specific skill version.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/skills/:skill_id/versions/:version",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The version number to retrieve."
              }
            ]
          },
          "docs": "Get a specific skill version."
        },
        {
          "info": {
            "name": "Delete a skill version.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/skills/:skill_id/versions/:version",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The skill version number."
              }
            ]
          },
          "docs": "Delete a skill version."
        },
        {
          "info": {
            "name": "Download a skill version zip bundle.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/skills/:skill_id/versions/:version/content",
            "params": [
              {
                "name": "skill_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the skill."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The skill version number."
              }
            ]
          },
          "docs": "Download a skill version zip bundle."
        }
      ]
    }
  ],
  "bundled": true
}