{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenAI Assistants Certificates API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "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"
              }
            ]
          },
          "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": "{}"
            }
          },
          "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": "{}"
            }
          },
          "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": "{}"
            }
          },
          "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."
              }
            ]
          },
          "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": "{}"
            }
          },
          "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."
              }
            ]
          },
          "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"
              }
            ]
          },
          "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": "{}"
            }
          },
          "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": "{}"
            }
          },
          "docs": "Deactivate certificates at the project level. You can atomically and \nidempotently deactivate up to 10 certificates at a time.\n"
        }
      ]
    }
  ],
  "bundled": true
}