{
  "info": {
    "_postman_id": "4c49b35f-2f3a-4528-8a80-830fa81b6b56",
    "name": "Vectara REST Agents Authentication API",
    "description": "Vectara REST API v2 is the unified interface for the Vectara Retrieval Augmented\nGeneration (RAG) platform. It exposes endpoints for managing corpora, uploading\nand indexing documents, running semantic and hybrid queries with grounded\ngeneration, managing agents, tools, pipelines, generation presets, and reading\nmetadata.\n\nThis OpenAPI 3.1 description is hand-curated from the public Vectara REST API\ndocumentation at https://docs.vectara.com/docs/rest-api/ and the published\nOpenAPI document at https://docs.vectara.com/vectara-oas-v2.yaml. It covers a\nrepresentative subset of endpoints across corpora, documents, query, agents,\ntools, pipelines, and OAuth.\n\n\nContact Support:\n Name: Vectara Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:26:45.000Z",
    "updatedAt": "2026-07-28T03:26:45.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-4c49b35f-2f3a-4528-8a80-830fa81b6b56"
  },
  "item": [
    {
      "name": "oauth2",
      "item": [
        {
          "name": "token",
          "item": [
            {
              "name": "Obtain An OAuth 2.0 Access Token (Client Credentials)",
              "id": "55dcad08-1c12-4aa5-ac2e-d6e537926f0b",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "urlencoded",
                  "urlencoded": [
                    {
                      "description": "(Required) ",
                      "key": "grant_type",
                      "value": "client_credentials"
                    },
                    {
                      "description": "(Required) ",
                      "key": "client_id",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "client_secret",
                      "value": "<string>"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/oauth2/token",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "oauth2",
                    "token"
                  ]
                }
              },
              "response": [
                {
                  "id": "5b1ba80c-0dc1-4a19-b0df-13d24bc52791",
                  "name": "Token response.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/x-www-form-urlencoded"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "urlencoded",
                      "urlencoded": [
                        {
                          "description": "(Required) ",
                          "key": "grant_type",
                          "value": "client_credentials"
                        },
                        {
                          "description": "(Required) ",
                          "key": "client_id",
                          "value": "<string>"
                        },
                        {
                          "description": "(Required) ",
                          "key": "client_secret",
                          "value": "<string>"
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{baseUrl}}/oauth2/token",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "oauth2",
                        "token"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"access_token\": \"<string>\",\n  \"token_type\": \"<string>\",\n  \"expires_in\": \"<integer>\"\n}",
                  "createdAt": "2026-07-28T03:26:46.000Z",
                  "updatedAt": "2026-07-28T03:26:46.000Z",
                  "uid": "35240-5b1ba80c-0dc1-4a19-b0df-13d24bc52791"
                }
              ],
              "createdAt": "2026-07-28T03:26:46.000Z",
              "updatedAt": "2026-07-28T03:26:46.000Z",
              "uid": "35240-55dcad08-1c12-4aa5-ac2e-d6e537926f0b"
            }
          ],
          "id": "bce58c0c-6f2e-41ad-978c-b1687e150a74",
          "createdAt": "2026-07-28T03:26:45.000Z",
          "updatedAt": "2026-07-28T03:26:45.000Z",
          "uid": "35240-bce58c0c-6f2e-41ad-978c-b1687e150a74"
        }
      ],
      "id": "68f6528b-3dbf-4fe0-908f-d8c74b1802a2",
      "createdAt": "2026-07-28T03:26:45.000Z",
      "updatedAt": "2026-07-28T03:26:45.000Z",
      "uid": "35240-68f6528b-3dbf-4fe0-908f-d8c74b1802a2"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.vectara.io"
    }
  ]
}