---
updatedAt: 2026-04-28T14:31:39.000Z
agentTools:
  projectIndex: https://automate.help.sentione.com/llms.txt
---

# Get available AI credentials

Get a list of available AI credentials for your organization. Available from version 255.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "SentiOne Automate Public API",
    "version": "1.0.0",
    "title": "Senti0ne Automate Public API"
  },
  "servers": [
    {
      "url": "https://chatbots.sentione.com/api/public/v1"
    },
    {
      "url": "https://{hostname}/api/public/v1",
      "variables": {
        "hostname": {
          "default": "chatbots.sentione.com"
        }
      }
    },
    {
      "url": "{server}/api/public/v1",
      "variables": {
        "server": {
          "default": "https://chatbots.sentione.com"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Knowledge base documents",
      "description": "Endpoints for working with documents in the knowledge base"
    }
  ],
  "paths": {
    "/organization/ai-credentials": {
      "get": {
        "tags": [
          "Knowledge base documents"
        ],
        "summary": "Get available AI credentials",
        "description": "Get a list of available AI credentials for your organization. Available from version 255.",
        "responses": {
          "200": {
            "description": "Successfully retrieved AI credentials",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiCredentialInfo"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "description": "Api Key from organization module",
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Key"
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "AiCredentialInfo": {
        "type": "object",
        "description": "Basic information about AI credential",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier of the AI credentials, and the value to use wherever credentials are referenced. Credentials given an explicit ID report that ID — lowercase letters, digits, hyphens and underscores — which is intended to be the same on every environment, so a project referring to it keeps working after being moved. Credentials that predate this and have not been given one report an opaque generated identifier instead.\n",
            "example": "openai_prod"
          },
          "name": {
            "type": "string",
            "description": "Display name of the AI credentials",
            "example": "OpenAI GPT-4"
          },
          "supportedCapabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AiCredentialCapability"
            }
          }
        }
      },
      "AiCredentialCapability": {
        "type": "string",
        "enum": [
          "Embeddings",
          "ChatCompletions"
        ],
        "description": "Specifies what AI operations this credential is authorized to perform"
      }
    }
  }
}
```