Download OpenAPI specification:Download
Updates fields on the specified AI.
| aiId required | string The identifier of the AI to update. |
| src | string |
| name | string |
| introduction | string or null |
| description | string |
| instructions | string |
| seed | string |
| modelId | string |
| visibility | string (AIVisibility) Enum: "PRIVATE" "GROUP" "ORGANIZATION" "ANYONE_WITH_LINK" Visibility level controlling who can access the AI. PRIVATE: Only the owner can access. GROUP: Only specified groups can access. ORGANIZATION: Anyone in the organization can access. ANYONE_WITH_LINK: Anyone with the link can access. |
| listInOrgCatalog | boolean |
| listInPublicCatalog | boolean |
| listInTenantCatalog | boolean |
| generateCitations | boolean |
| chatLogsVisible | boolean |
| intermediateStepsVisible | boolean |
object (AIModelOptions) Configuration options for the AI model's behavior | |
| groups | Array of strings |
object (AIProfile) | |
Array of objects (AIEditorUser) | |
| publicCategories | Array of strings (PublicCategoryType) Items Enum: "ACCOUNTING_FINANCE" "AI_MODELS" "ENGINEERING" "HUMAN_RESOURCES" "INFORMATION_TECHNOLOGY" "LEARNING_DEVELOPMENT" "MARKETING" "PRODUCTIVITY" "SALES" "ADVISOR" "FEATURED" |
| orgCategoryIds | Array of strings |
{- "src": "string",
- "name": "string",
- "introduction": "string",
- "description": "string",
- "instructions": "string",
- "seed": "string",
- "modelId": "string",
- "visibility": "PRIVATE",
- "listInOrgCatalog": true,
- "listInPublicCatalog": true,
- "listInTenantCatalog": true,
- "generateCitations": true,
- "chatLogsVisible": true,
- "intermediateStepsVisible": true,
- "options": {
- "temperature": [
- 0
], - "topP": [
- 0
], - "topK": [
- 0
], - "maxTokens": [
- 0
], - "maxInputTokens": [
- 0
], - "frequencyPenalty": [
- 0
], - "presencePenalty": [
- 0
]
}, - "groups": [
- "string"
], - "profile": {
- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}, - "editors": [
- {
- "id": "string",
- "name": "string",
- "email": "string"
}
], - "publicCategories": [
- "ACCOUNTING_FINANCE"
], - "orgCategoryIds": [
- "string"
]
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "introduction": "string",
- "description": "string",
- "instructions": "string",
- "seed": "string",
- "src": "string",
- "orgId": "string",
- "userId": "string",
- "profile": {
- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}, - "userName": "string",
- "orgName": "string",
- "categoryId": "string",
- "visibility": "PRIVATE",
- "listInOrgCatalog": true,
- "listInPublicCatalog": true,
- "listInTenantCatalog": true,
- "chatLogsVisible": true,
- "generateCitations": true,
- "intermediateStepsVisible": true,
- "modelId": "string",
- "options": {
- "temperature": [
- 0
], - "topP": [
- 0
], - "topK": [
- 0
], - "maxTokens": [
- 0
], - "maxInputTokens": [
- 0
], - "frequencyPenalty": [
- 0
], - "presencePenalty": [
- 0
]
}, - "groups": [
- "string"
], - "editors": [
- {
- "id": "string",
- "name": "string",
- "email": "string"
}
], - "publicCategories": [
- "ACCOUNTING_FINANCE"
], - "orgCategoryIds": [
- "string"
], - "messageCount": 0,
- "rating": 0,
- "ratingCount": 0,
- "isShared": true,
- "hasUserChats": true,
- "isApprovedByOrg": true,
- "isPremiumModel": true,
- "isDeleted": true
}Creates a new AI specified by the given identifier.
| src required | string |
| name required | string |
| introduction | string or null |
| description required | string |
| instructions required | string |
| seed | string |
| modelId | string |
| visibility | string (AIVisibility) Enum: "PRIVATE" "GROUP" "ORGANIZATION" "ANYONE_WITH_LINK" Visibility level controlling who can access the AI. PRIVATE: Only the owner can access. GROUP: Only specified groups can access. ORGANIZATION: Anyone in the organization can access. ANYONE_WITH_LINK: Anyone with the link can access. |
| listInOrgCatalog | boolean |
| listInPublicCatalog | boolean |
| listInTenantCatalog | boolean |
| generateCitations | boolean |
| chatLogsVisible | boolean |
| intermediateStepsVisible | boolean |
object (AIModelOptions) Configuration options for the AI model's behavior | |
| groups | Array of strings |
object (AIProfile) | |
Array of objects (AIEditorUser) | |
| publicCategories | Array of strings (PublicCategoryType) Items Enum: "ACCOUNTING_FINANCE" "AI_MODELS" "ENGINEERING" "HUMAN_RESOURCES" "INFORMATION_TECHNOLOGY" "LEARNING_DEVELOPMENT" "MARKETING" "PRODUCTIVITY" "SALES" "ADVISOR" "FEATURED" |
| orgCategoryIds | Array of strings |
{- "src": "string",
- "name": "string",
- "introduction": "string",
- "description": "string",
- "instructions": "string",
- "seed": "string",
- "modelId": "string",
- "visibility": "PRIVATE",
- "listInOrgCatalog": true,
- "listInPublicCatalog": true,
- "listInTenantCatalog": true,
- "generateCitations": true,
- "chatLogsVisible": true,
- "intermediateStepsVisible": true,
- "options": {
- "temperature": [
- 0
], - "topP": [
- 0
], - "topK": [
- 0
], - "maxTokens": [
- 0
], - "maxInputTokens": [
- 0
], - "frequencyPenalty": [
- 0
], - "presencePenalty": [
- 0
]
}, - "groups": [
- "string"
], - "profile": {
- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}, - "editors": [
- {
- "id": "string",
- "name": "string",
- "email": "string"
}
], - "publicCategories": [
- "ACCOUNTING_FINANCE"
], - "orgCategoryIds": [
- "string"
]
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "introduction": "string",
- "description": "string",
- "instructions": "string",
- "seed": "string",
- "src": "string",
- "orgId": "string",
- "userId": "string",
- "profile": {
- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}, - "userName": "string",
- "orgName": "string",
- "categoryId": "string",
- "visibility": "PRIVATE",
- "listInOrgCatalog": true,
- "listInPublicCatalog": true,
- "listInTenantCatalog": true,
- "chatLogsVisible": true,
- "generateCitations": true,
- "intermediateStepsVisible": true,
- "modelId": "string",
- "options": {
- "temperature": [
- 0
], - "topP": [
- 0
], - "topK": [
- 0
], - "maxTokens": [
- 0
], - "maxInputTokens": [
- 0
], - "frequencyPenalty": [
- 0
], - "presencePenalty": [
- 0
]
}, - "groups": [
- "string"
], - "editors": [
- {
- "id": "string",
- "name": "string",
- "email": "string"
}
], - "publicCategories": [
- "ACCOUNTING_FINANCE"
], - "orgCategoryIds": [
- "string"
], - "messageCount": 0,
- "rating": 0,
- "ratingCount": 0,
- "isShared": true,
- "hasUserChats": true,
- "isApprovedByOrg": true,
- "isPremiumModel": true,
- "isDeleted": true
}Retrieves details of the AI specified by the given identifier.
| aiId required | string The identifier of the AI whose details are to be retrieved. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "introduction": "string",
- "description": "string",
- "instructions": "string",
- "seed": "string",
- "src": "string",
- "orgId": "string",
- "userId": "string",
- "profile": {
- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}, - "userName": "string",
- "orgName": "string",
- "categoryId": "string",
- "visibility": "PRIVATE",
- "listInOrgCatalog": true,
- "listInPublicCatalog": true,
- "listInTenantCatalog": true,
- "chatLogsVisible": true,
- "generateCitations": true,
- "intermediateStepsVisible": true,
- "modelId": "string",
- "options": {
- "temperature": [
- 0
], - "topP": [
- 0
], - "topK": [
- 0
], - "maxTokens": [
- 0
], - "maxInputTokens": [
- 0
], - "frequencyPenalty": [
- 0
], - "presencePenalty": [
- 0
]
}, - "groups": [
- "string"
], - "editors": [
- {
- "id": "string",
- "name": "string",
- "email": "string"
}
], - "publicCategories": [
- "ACCOUNTING_FINANCE"
], - "orgCategoryIds": [
- "string"
], - "messageCount": 0,
- "rating": 0,
- "ratingCount": 0,
- "isShared": true,
- "hasUserChats": true,
- "isApprovedByOrg": true,
- "isPremiumModel": true,
- "isDeleted": true
}Generates an AI profile based on existing AI data.
| aiId required | string The identifier of the AI. |
{- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}| scope | string (ListAIsRequestScope) Enum: "PRIVATE" "OWNED" "GROUP" "SHARED" "ORGANIZATION" "PUBLIC" "ALL" The scope to filter results by |
| groupId | string The id of a group to filter results by |
| categoryId | string The id of a category to filter results by |
| approvedByOrg | boolean Filter results by whether the AI has been approved by the organization. |
| search | string Search term |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "introduction": "string",
- "description": "string",
- "instructions": "string",
- "seed": "string",
- "src": "string",
- "orgId": "string",
- "userId": "string",
- "profile": {
- "headline": "string",
- "description": "string",
- "features": [
- {
- "title": "string",
- "description": "string"
}
], - "showCharacter": true,
- "showTraining": true,
- "showPersonality": true,
- "trainingDescription": "string",
- "conversations": [
- { }
], - "socialImage": "string",
- "idleVideo": "string",
- "idleVideoError": "string",
- "showSpeaker": true,
- "showVideo": true,
- "voice": "string",
- "voiceEngine": "string",
- "videoModel": "string"
}, - "userName": "string",
- "orgName": "string",
- "categoryId": "string",
- "visibility": "PRIVATE",
- "listInOrgCatalog": true,
- "listInPublicCatalog": true,
- "listInTenantCatalog": true,
- "chatLogsVisible": true,
- "generateCitations": true,
- "intermediateStepsVisible": true,
- "modelId": "string",
- "options": {
- "temperature": [
- 0
], - "topP": [
- 0
], - "topK": [
- 0
], - "maxTokens": [
- 0
], - "maxInputTokens": [
- 0
], - "frequencyPenalty": [
- 0
], - "presencePenalty": [
- 0
]
}, - "groups": [
- "string"
], - "editors": [
- {
- "id": "string",
- "name": "string",
- "email": "string"
}
], - "publicCategories": [
- "ACCOUNTING_FINANCE"
], - "orgCategoryIds": [
- "string"
], - "messageCount": 0,
- "rating": 0,
- "ratingCount": 0,
- "isShared": true,
- "hasUserChats": true,
- "isApprovedByOrg": true,
- "isPremiumModel": true,
- "isDeleted": true
}
]
}Retrieves a list of all chat sessions associated with the given AI identifier.
| aiId required | string The identifier of the AI whose chats are to be retrieved. |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "userId": "string",
- "pinPosition": 0,
- "ai": {
- "id": "string",
- "name": "string",
- "src": "string",
- "description": "string",
- "userId": "string",
- "userName": "string"
}
}
]
}Creates a new chat session associated with the given AI identifier and returns the created chat session data.
| aiId required | string The identifier of the AI with which the chat session is to be associated. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "userId": "string",
- "pinPosition": 0,
- "ai": {
- "id": "string",
- "name": "string",
- "src": "string",
- "description": "string",
- "userId": "string",
- "userName": "string"
}
}Retrieves the chat session with the specified ID.
| chatId required | string The unique identifier of the chat session to retrieve. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "userId": "string",
- "pinPosition": 0,
- "ai": {
- "id": "string",
- "name": "string",
- "src": "string",
- "description": "string",
- "userId": "string",
- "userName": "string"
}, - "messages": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "content": "string",
- "role": "string"
}
]
}Send a message to a chat session with an AI.
| chatId required | string The unique identifier of the chat session. |
| date | string <date-time> The date and time of the chat from the perspective of the user. This may be different from the server time for the AI. Defaults to server time if not provided. |
required | string or (Array of ComplexMessageContent (TextMessageContent (object) or IdMessageContent (object) or UrlMessageContent (object))) Message to send to the AI. Can be a string for simple text messages, or a ComplexMessageContent array that includes text and file references (images, documents, audio, video). |
| modelId | string Optional model ID to override the AI's default model for this request. |
object (ChatOptions) | |
Array of any (PostToChatRequestTool) Array of tools to enable for this chat request. Each tool can be a built-in tool type (e.g. web_search, python), an image generation tool with model configuration, an MCP server tool reference, or an OpenAI-compatible function tool definition. | |
object Optional key-value map of user-provided secrets that may be required by tools (e.g. API keys for authenticated tool calls). |
{- "date": "2024-01-15T10:30:00Z",
- "prompt": "Hello, how are you?",
- "tools": [ ]
}Creates a duplicate of the chat session with the specified ID.
| chatId required | string The unique identifier of the chat session to duplicate. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "userId": "string",
- "pinPosition": 0,
- "ai": {
- "id": "string",
- "name": "string",
- "src": "string",
- "description": "string",
- "userId": "string",
- "userName": "string"
}, - "messages": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "content": "string",
- "role": "string"
}
]
}Resets the chat session with the specified ID, clearing its current state or content.
| chatId required | string The unique identifier of the chat session to reset. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "userId": "string",
- "pinPosition": 0,
- "ai": {
- "id": "string",
- "name": "string",
- "src": "string",
- "description": "string",
- "userId": "string",
- "userName": "string"
}, - "messages": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "content": "string",
- "role": "string"
}
]
}When the AI requests user input through tool calls (e.g., asking the user to fill in form fields), use this endpoint to submit the user's responses. The AI will receive these outputs and continue the conversation. Listen for 'tool.call' events in the chat stream to know when input is needed.
| chatId required | string The unique identifier of the chat session. |
| systemMessageId required | string The ID of the system message that requested the tool outputs (the message containing the tool calls). |
required | Array of objects (ToolOutput) Array of tool outputs, one for each tool call that needs a response. |
object (ChatOptions) |
Example of submitting a user's name when the AI requests it.
{- "systemMessageId": "msg_abc123",
- "outputs": [
- {
- "toolCallId": "call_xyz789",
- "status": "success",
- "output": "John Doe"
}
]
}Retrieves a list of all chat sessions associated with the current user
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "userId": "string",
- "pinPosition": 0,
- "ai": {
- "id": "string",
- "name": "string",
- "src": "string",
- "description": "string",
- "userId": "string",
- "userName": "string"
}
}
]
}Retrieves a list of data sources associated with the given AI identifier.
| aiId required | string The identifier of the AI whose data sources are to be retrieved. |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true
}
]
}Associates an existing data source with the specified AI.
| aiId required | string The unique identifier for the AI to which the data source is to be added. |
| dataSourceId required | string The unique identifier of the existing data source to be added. |
{- "dataSourceId": "string"
}{- "aiId": "string",
- "dataSourceId": "string"
}Adds a new API data source with a specified name and JSON payload for the given AI.
| aiId required | string The unique identifier for the AI. |
| name required | string Name of the data source. |
| data required | object The JSON payload to be used as the data source's knowledge. |
{- "name": "string",
- "data": { }
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true
}| aiId required | string The unique identifier for the AI. |
| file | string <binary> |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true
}Generates a signed upload token for Vercel Blob and creates the data source after upload.
| aiId required | string The unique identifier for the AI. |
| property name* additional property | any |
{ }{- "url": "string",
- "pathname": "string",
- "contentType": "string",
- "size": 0
}Creates a web URL knowledge source and associates it with the AI.
| aiId required | string The unique identifier for the AI. |
| url required | string |
| dataRefreshPeriod required | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
| includeFiles required | boolean |
| includedFileTypes required | Array of strings (WebUrlFileType) Items Enum: "TEXT" "CSV" "PDF" "MARKDOWN" "DOC" "XLS" |
| includeUrlGlobs | Array of strings |
| excludeUrlGlobs | Array of strings |
| maxPages | integer |
| maxMemory | integer |
| timeout | integer |
{- "url": "string",
- "dataRefreshPeriod": "NEVER",
- "includeFiles": true,
- "includedFileTypes": [
- "TEXT"
], - "includeUrlGlobs": [
- "string"
], - "excludeUrlGlobs": [
- "string"
], - "maxPages": 0,
- "maxMemory": 0,
- "timeout": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true
}Creates Google Drive knowledge sources and associates them with the AI.
| aiId required | string The unique identifier for the AI. |
| oauthTokenId | string |
required | Array of objects (GoogleDriveFile) |
| dataRefreshPeriod | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
{- "oauthTokenId": "string",
- "files": [
- {
- "id": "string",
- "name": "string"
}
], - "dataRefreshPeriod": "NEVER"
}Creates a OneDrive knowledge source and associates it with the AI.
| aiId required | string The unique identifier for the AI. |
| oauthTokenId required | string |
| fileId required | string |
| filename required | string |
| dataRefreshPeriod | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
{- "oauthTokenId": "string",
- "fileId": "string",
- "filename": "string",
- "dataRefreshPeriod": "NEVER"
}Creates a Confluence knowledge source and associates it with the AI.
| aiId required | string The unique identifier for the AI. |
| oauthTokenId required | string |
| pageId | string |
| pageName required | string |
| contentType | string |
| spaceId | string |
| dataRefreshPeriod | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
| indexChildPages | boolean |
| indexDriveFiles | boolean |
| indexAttachments | boolean |
| selectedDriveAccount | string |
| archive | boolean |
| allSpaces | boolean |
{- "oauthTokenId": "string",
- "pageId": "string",
- "pageName": "string",
- "contentType": "string",
- "spaceId": "string",
- "dataRefreshPeriod": "NEVER",
- "indexChildPages": true,
- "indexDriveFiles": true,
- "indexAttachments": true,
- "selectedDriveAccount": "string",
- "archive": true,
- "allSpaces": true
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true
}Creates a Jira knowledge source and associates it with the AI.
| aiId required | string The unique identifier for the AI. |
| oauthTokenId required | string |
| projectName required | string |
| projectKey required | string |
| dataRefreshPeriod | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
{- "oauthTokenId": "string",
- "projectName": "string",
- "projectKey": "string",
- "dataRefreshPeriod": "NEVER"
}Creates a GitHub knowledge source and associates it with the AI.
| aiId required | string The unique identifier for the AI. |
| mode required | string Enum: "repos" "all" |
| gitHubAppInstallationId required | integer |
| repos | Array of strings |
| dataRefreshPeriod | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
{- "mode": "repos",
- "gitHubAppInstallationId": 0,
- "repos": [
- "string"
], - "dataRefreshPeriod": "NEVER"
}Bulk delete data sources by ID for the specified AI.
| aiId required | string The identifier of the AI. |
| dataSourceIds required | Array of strings |
{- "dataSourceIds": [
- "string"
]
}Retrieves a list of data sources associated which the user has access to.
| search | string Search term for data sources. |
| type | string (DataSourceType) Enum: "API" "FILE_UPLOAD" "GOOGLE_DRIVE" "ONEDRIVE" "WEB_URL" "CONFLUENCE" "JIRA" "GITHUB" Filter by data source type. |
| orderBy | string^[+-](createdAt|lastIndexedAt|usageCount)$ Order by field and direction. Prefix field name with '+' for ascending or '-' for descending order. Allowed fields: createdAt, lastIndexedAt, usageCount. |
| page | integer Page number for paginated results. |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true,
- "ais": [
- {
- "id": "string",
- "name": "string",
- "src": "string"
}
], - "ownerUser": {
- "id": "string",
- "email": "string",
- "name": "string"
}
}
], - "total": 0
}Updates properties for the specified data source.
| dataSourceId required | string The unique identifier of the data source to update. |
| refreshPeriod | string (DataSourceRefreshPeriod) Enum: "NEVER" "DAILY" "WEEKLY" "MONTHLY" How frequently the data source should be refreshed. |
| cite | boolean or null |
| ais | Array of strings |
| orgVisible | boolean or null |
{- "refreshPeriod": "NEVER",
- "cite": true,
- "ais": [
- "string"
], - "orgVisible": true
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastIndexedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "type": "API",
- "refreshPeriod": "NEVER",
- "indexStatus": "INITIALIZED",
- "indexPercentage": "string",
- "data": { },
- "cite": true,
- "orgVisible": true
}This endpoint refreshes the specified data source.
| dataSourceId required | string The unique identifier of the data source to be refreshed. |
| forceRefresh | boolean Indicates if the data source should be refreshed even if the content has not been updated |
Retrieves indexing statistics for the specified data source.
| dataSourceId required | string The unique identifier of the data source. |
{- "doneCount": 0,
- "failedCount": 0,
- "pendingCount": 0,
- "indexingCount": 0,
- "totalCount": 0
}Retrieves paginated knowledge items for the specified data source.
| dataSourceId required | string The unique identifier of the data source. |
| first | integer Number of items to return. |
| cursor | string Cursor for pagination. |
| page | integer Page number for pagination. |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "type": "API",
- "uniqueId": "string",
- "parentUniqueId": "string",
- "indexStatus": "INITIALIZED",
- "documentCount": 0,
- "tokenCount": 0,
- "originalContent": {
- "contentBlobUrl": "string",
- "filename": "string",
- "mimeType": "string",
- "isContentStoredExternally": true,
- "contentUrl": "string"
}, - "documentsBlobUrl": "string",
- "indexPercentage": "string",
- "metadata": { },
- "isBlobStorageDeleted": true,
- "cite": true
}
], - "pagination": {
- "nextCursor": "string"
}
}Updates a knowledge item for the specified data source.
| dataSourceId required | string The unique identifier of the data source. |
| knowledgeId required | string The identifier of the knowledge item. |
| cite required | boolean |
{- "cite": true
}{- "id": "string",
- "name": "string",
- "type": "API",
- "uniqueId": "string",
- "parentUniqueId": "string",
- "indexStatus": "INITIALIZED",
- "documentCount": 0,
- "tokenCount": 0,
- "originalContent": {
- "contentBlobUrl": "string",
- "filename": "string",
- "mimeType": "string",
- "isContentStoredExternally": true,
- "contentUrl": "string"
}, - "documentsBlobUrl": "string",
- "indexPercentage": "string",
- "metadata": { },
- "isBlobStorageDeleted": true,
- "cite": true
}Creates a new API key for the caller or a specified user (based on access level).
| name required | string Name of the API key. |
| scopes required | Array of strings non-empty Scopes to grant to the API key. |
| userId | string Optional user ID to create the API key for. Defaults to the caller. |
{- "name": "string",
- "scopes": [
- "string"
], - "userId": "string"
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "userEmail": "string",
- "name": "string",
- "scopes": [
- "string"
], - "key": "string"
}Creates a new group with the specified details.
| name required | string Name of the group. |
| availability required | string (GroupAvailability) Enum: "EVERYONE" "RESTRICTED" Availability status of the group. |
| memberEmails required | string A comma-separated list of emails of users who should be added to the group. |
{- "name": "string",
- "availability": "EVERYONE",
- "memberEmails": "string"
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "availability": "EVERYONE",
- "users": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "email": "string"
}
]
}Updates the details of a specific group and manages its member list.
| groupId required | string The unique identifier of the group to update. |
| name | string Name of the group. |
| availability | string (GroupAvailability) Enum: "EVERYONE" "RESTRICTED" Availability status of the group. |
| memberEmailsToAdd | string A comma-separated list of emails of users to be added to the group. |
| memberEmailsToRemove | Array of strings A comma-separated list of emails of users to be removed from the group. |
{- "name": "string",
- "availability": "EVERYONE",
- "memberEmailsToAdd": "string",
- "memberEmailsToRemove": [
- "string"
]
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "availability": "EVERYONE",
- "users": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "email": "string"
}
]
}Retrieves a list of groups associated with the current user.
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "ownerUserId": "string",
- "name": "string",
- "availability": "EVERYONE"
}
]Returns the usage metrics of the organization broken down by AI.
{- "orgUsage": {
- "orgId": "string",
- "dataTokensUsed": 0,
- "dataUsageTokenLimit": 0,
- "apiTokensUsed": 0,
- "apiUsageTokenLimit": 0
}, - "aiUsages": [
- {
- "aiId": "string",
- "aiDataTokensUsed": 0,
- "aiApiTokensUsed": 0
}
]
}Uploads a file that can be referenced in messages sent to this chat. Max file size: 5MB. After uploading, use the returned file ID to reference it in the prompt field using ComplexMessageContent.
| chatId required | string The unique identifier of the chat session. |
| file required | string <binary> The file to upload. |
| source | string Enum: "USER" "SYSTEM" The source of the file. Defaults to USER if not specified. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "USER",
- "filename": "string",
- "size": 0,
- "mimeType": "string",
- "url": "string",
- "metadata": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "UPLOADED"
}Retrieves a list of all files associated with the specified chat session.
| chatId required | string The unique identifier of the chat session. |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "USER",
- "filename": "string",
- "size": 0,
- "mimeType": "string",
- "url": "string",
- "metadata": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "UPLOADED"
}
]
}This endpoint supports two modes: 1) Create a file record with metadata (application/json), or 2) Upload a file directly (multipart/form-data). When creating a record, you'll need to upload the actual file separately. When uploading directly, the file is uploaded immediately.
This endpoint supports two modes: Create a file record with metadata (application/json), or upload a file directly (multipart/form-data).
| filename required | string The name of the file. |
| size required | integer The size of the file in bytes. |
| mimeType required | string The MIME type of the file. |
| metadata | object or null Additional metadata associated with the file. |
{- "filename": "string",
- "size": 0,
- "mimeType": "string",
- "metadata": { }
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "USER",
- "filename": "string",
- "size": 0,
- "mimeType": "string",
- "url": "string",
- "metadata": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "UPLOADED"
}Creates a completion for the chat message. This endpoint is OpenAI-compatible and supports both regular prompts and tool output submissions. When the last message is a tool message, it will be treated as a tool output submission.
required | Array of objects (ChatCompletionMessage) non-empty A list of messages comprising the conversation so far |
| model required | string ID of the Devs.ai AI or the LLM model to use for completion |
| stream | boolean Default: false Whether to stream the response or not |
object (ChatOptions) | |
Array of OpenAIFunctionTool (object) or BuiltInTool (object) or ImageGenerationTool (object) or McpServerTool (object) Optional list of tools to use. Supports OpenAI function tools and Devs.ai built-in tools. | |
| generateCitations | boolean Whether to generate citations in the response |
| parallel_tool_calls | boolean Whether to allow parallel tool calls |
object | |
| max_tokens | integer Maximum number of tokens to generate |
{- "messages": [
- {
- "role": "system",
- "content": "string",
- "tool_calls": [
- {
- "id": "string",
- "type": "function",
- "function": {
- "name": "string",
- "arguments": "string"
}
}
], - "tool_call_id": "string"
}
], - "model": "string",
- "stream": false,
- "options": {
- "flow": {
- "override": {
- "force": true,
- "id": "string",
- "version": 0
}, - "tracing": {
- "enabled": true
}
}
}, - "tools": [
- {
- "type": "function",
- "function": {
- "name": "string",
- "description": "string",
- "parameters": { }
}
}
], - "generateCitations": true,
- "parallel_tool_calls": true,
- "stream_options": {
- "include_usage": true
}, - "max_tokens": 0
}{- "choices": [
- {
- "index": 0,
- "message": {
- "role": "assistant",
- "content": "string"
}, - "finish_reason": "stop"
}
], - "chatId": "string"
}Deprecated: This endpoint is deprecated. Please use /api/v1/chat/completions instead, which follows the OpenAI API convention and provides the same functionality.
required | Array of objects (ChatCompletionMessage) non-empty A list of messages comprising the conversation so far |
| model required | string ID of the Devs.ai AI or the LLM model to use for completion |
| stream | boolean Default: false Whether to stream the response or not |
object (ChatOptions) | |
Array of OpenAIFunctionTool (object) or BuiltInTool (object) or ImageGenerationTool (object) or McpServerTool (object) Optional list of tools to use. Supports OpenAI function tools and Devs.ai built-in tools. | |
| generateCitations | boolean Whether to generate citations in the response |
| parallel_tool_calls | boolean Whether to allow parallel tool calls |
object | |
| max_tokens | integer Maximum number of tokens to generate |
{- "messages": [
- {
- "role": "system",
- "content": "string",
- "tool_calls": [
- {
- "id": "string",
- "type": "function",
- "function": {
- "name": "string",
- "arguments": "string"
}
}
], - "tool_call_id": "string"
}
], - "model": "string",
- "stream": false,
- "options": {
- "flow": {
- "override": {
- "force": true,
- "id": "string",
- "version": 0
}, - "tracing": {
- "enabled": true
}
}
}, - "tools": [
- {
- "type": "function",
- "function": {
- "name": "string",
- "description": "string",
- "parameters": { }
}
}
], - "generateCitations": true,
- "parallel_tool_calls": true,
- "stream_options": {
- "include_usage": true
}, - "max_tokens": 0
}{- "choices": [
- {
- "index": 0,
- "message": {
- "role": "assistant",
- "content": "string"
}, - "finish_reason": "stop"
}
], - "chatId": "string"
}Retrieves all tools associated with the specified AI.
| aiId required | string The identifier of the AI. |
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]Creates a new tool and associates it with the specified AI.
| aiId required | string The identifier of the AI. |
| apiUrl required | string |
| schema required | string |
| authenticationType required | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) | |
| compressionEnabled required | boolean |
object (ApiCompressionConfiguration) |
{- "apiUrl": "string",
- "schema": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}, - "compressionEnabled": true,
- "compressionConfiguration": {
- "compressionModel": "string",
- "compressionThreshold": 0,
- "compressionChunkSize": 0
}
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves details for a specific tool associated with the AI.
| aiId required | string The identifier of the AI. |
| toolId required | string The identifier of the tool. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates supported tool types (e.g., spreadsheet, web search).
| aiId required | string The identifier of the AI. |
| toolId required | string The identifier of the tool. |
| model required | string |
{- "model": "string"
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves API function tools associated with the AI.
| aiId required | string The identifier of the AI. |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]
}Creates an API function tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
| apiUrl required | string |
| schema required | string |
| authenticationType required | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) | |
| compressionEnabled required | boolean |
object (ApiCompressionConfiguration) |
{- "apiUrl": "string",
- "schema": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}, - "compressionEnabled": true,
- "compressionConfiguration": {
- "compressionModel": "string",
- "compressionThreshold": 0,
- "compressionChunkSize": 0
}
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates an API function tool associated with the AI.
| aiId required | string The identifier of the AI. |
| toolId required | string The identifier of the tool. |
| apiUrl required | string |
| schema required | string |
| authenticationType required | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) | |
| compressionEnabled required | boolean |
object (ApiCompressionConfiguration) |
{- "apiUrl": "string",
- "schema": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}, - "compressionEnabled": true,
- "compressionConfiguration": {
- "compressionModel": "string",
- "compressionThreshold": 0,
- "compressionChunkSize": 0
}
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Creates a SQL tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
| type required | string Value: "SQL" |
| databaseType required | string (SQLToolDatabaseType) Value: "MYSQL" |
| username required | string |
| password required | string |
| host required | string |
| database required | string |
| port required | integer |
{- "type": "SQL",
- "databaseType": "MYSQL",
- "username": "string",
- "password": "string",
- "host": "string",
- "database": "string",
- "port": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves Python tools associated with the AI.
| aiId required | string The identifier of the AI. |
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]Creates a Python tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves user input tools associated with the AI.
| aiId required | string The identifier of the AI. |
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]Creates a user input tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
| type required | string Value: "USER_INPUT" |
| textInput required | boolean |
| selectInput required | boolean |
| multiSelectInput required | boolean |
| confirmInput required | boolean |
| addressInput required | boolean |
{- "type": "USER_INPUT",
- "textInput": true,
- "selectInput": true,
- "multiSelectInput": true,
- "confirmInput": true,
- "addressInput": true
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves knowledge retrieval tools associated with the AI.
| aiId required | string The identifier of the AI. |
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]Creates a knowledge retrieval tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
| model required | string |
| maxRetrievalTokens required | integer |
| maxRetrievalDocuments required | integer |
| queryExpansion required | boolean |
| alternateQueryCount required | integer |
| hyde required | boolean |
| rerank required | boolean |
| grade required | boolean |
| compress required | boolean |
| minRelevanceScore required | number |
{- "model": "string",
- "maxRetrievalTokens": 0,
- "maxRetrievalDocuments": 0,
- "queryExpansion": true,
- "alternateQueryCount": 0,
- "hyde": true,
- "rerank": true,
- "grade": true,
- "compress": true,
- "minRelevanceScore": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves image generation tools associated with the AI.
| aiId required | string The identifier of the AI. |
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]Creates an image generation tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
| modelId required | string |
| samples | integer |
| size | string |
| aspectRatio | string |
| quality | string |
| style | string |
{- "modelId": "string",
- "samples": 0,
- "size": "string",
- "aspectRatio": "string",
- "quality": "string",
- "style": "string"
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Retrieves MCP server tools associated with the AI.
| aiId required | string The identifier of the AI. |
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}
]Creates an MCP server tool and associates it with the AI.
| aiId required | string The identifier of the AI. |
| type required | string Value: "MCP_SERVER" |
| name required | string |
| url | string |
| orgToolTemplateId | string |
| authenticationType | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) | |
Array of objects (MCPTool) | |
| selectedTools | Array of strings |
{- "type": "MCP_SERVER",
- "name": "string",
- "url": "string",
- "orgToolTemplateId": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}, - "allTools": [
- {
- "name": "string",
- "description": "string",
- "schema": "string"
}
], - "selectedTools": [
- "string"
]
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Lists OAuth token status information for tools associated with the AI.
| aiId required | string The identifier of the AI. |
[- {
- "name": "string",
- "scope": "string",
- "expiresIn": 0,
- "issuedAt": "2019-08-24T14:15:22Z"
}
]Retrieves a tool by ID.
| toolId required | string The identifier of the tool. |
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates the SQL tool configuration.
| toolId required | string The identifier of the tool. |
| databaseType required | string (SQLToolDatabaseType) Value: "MYSQL" |
| username required | string |
| password required | string |
| host required | string |
| database required | string |
| port required | integer |
{- "databaseType": "MYSQL",
- "username": "string",
- "password": "string",
- "host": "string",
- "database": "string",
- "port": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates the user input tool configuration.
| toolId required | string The identifier of the tool. |
| textInput required | boolean |
| selectInput required | boolean |
| multiSelectInput required | boolean |
| confirmInput required | boolean |
| addressInput required | boolean |
{- "textInput": true,
- "selectInput": true,
- "multiSelectInput": true,
- "confirmInput": true,
- "addressInput": true
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates the knowledge retrieval tool configuration.
| toolId required | string The identifier of the tool. |
| model required | string |
| maxRetrievalTokens required | integer |
| maxRetrievalDocuments required | integer |
| queryExpansion required | boolean |
| alternateQueryCount required | integer |
| hyde required | boolean |
| rerank required | boolean |
| grade required | boolean |
| compress required | boolean |
| minRelevanceScore required | number |
{- "model": "string",
- "maxRetrievalTokens": 0,
- "maxRetrievalDocuments": 0,
- "queryExpansion": true,
- "alternateQueryCount": 0,
- "hyde": true,
- "rerank": true,
- "grade": true,
- "compress": true,
- "minRelevanceScore": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates the image generation tool configuration.
| toolId required | string The identifier of the tool. |
| modelId required | string |
| samples | integer |
| size | string |
| aspectRatio | string |
| quality | string |
| style | string |
{- "modelId": "string",
- "samples": 0,
- "size": "string",
- "aspectRatio": "string",
- "quality": "string",
- "style": "string"
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates the MCP server tool configuration.
| toolId required | string The identifier of the tool. |
| name required | string |
| url | string |
| orgToolTemplateId | string |
| authenticationType | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) | |
Array of objects (MCPTool) | |
| selectedTools | Array of strings |
{- "name": "string",
- "url": "string",
- "orgToolTemplateId": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}, - "allTools": [
- {
- "name": "string",
- "description": "string",
- "schema": "string"
}
], - "selectedTools": [
- "string"
]
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Updates the API function tool configuration.
| toolId required | string The identifier of the tool. |
| apiUrl required | string |
| schema required | string |
| authenticationType required | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) | |
| compressionEnabled required | boolean |
object (ApiCompressionConfiguration) |
{- "apiUrl": "string",
- "schema": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}, - "compressionEnabled": true,
- "compressionConfiguration": {
- "compressionModel": "string",
- "compressionThreshold": 0,
- "compressionChunkSize": 0
}
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "orgId": "string",
- "userId": "string",
- "name": "string",
- "type": "API_FUNCTION",
- "data": { },
- "orgTemplateUuid": "string",
- "orgTemplateConfig": { },
- "templateConfig": { }
}Previews available tools from an MCP server or template.
| url | string |
| orgToolTemplateId | string |
| toolTemplateId | string |
| toolId | string |
| authenticationType | string (AuthenticationType) Enum: "NONE" "API_KEY" "OAUTH" |
ApiKeyAuthenticationData (object) or OAuthAuthenticationData (object) |
{- "url": "string",
- "orgToolTemplateId": "string",
- "toolTemplateId": "string",
- "toolId": "string",
- "authenticationType": "NONE",
- "authenticationData": {
- "apiKey": "string",
- "apiKeyAuthType": "BASIC",
- "customHeader": [
- {
- "header": "string",
- "value": "string"
}
]
}
}{- "availableTools": [
- {
- "name": "string",
- "description": "string",
- "schema": "string"
}
], - "authenticationRequired": true,
- "oauthDiscovery": { },
- "requiresToolSave": true
}Retrieves configured user inputs for the AI.
| aiId required | string The identifier of the AI. |
{- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "aiId": "string",
- "variableName": "string",
- "type": "SHORT_TEXT",
- "label": "string",
- "configuration": { },
- "showOnChatCreate": true,
- "orderIndex": 0
}
]
}Creates a user input field for the AI.
| aiId required | string The identifier of the AI. |
| variableName required | string |
| type required | string (AIUserInputType) Enum: "SHORT_TEXT" "LONG_TEXT" "TEXT_CHOICE" "IMAGE_CHOICE" "DATE" "NUMBER" "PHONE_NUMBER" "FILE_UPLOAD" "DISPLAY" "ADDRESS" |
| label required | string |
| configuration required | object |
| showOnChatCreate | boolean |
| orderIndex | integer |
{- "variableName": "string",
- "type": "SHORT_TEXT",
- "label": "string",
- "configuration": { },
- "showOnChatCreate": true,
- "orderIndex": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "aiId": "string",
- "variableName": "string",
- "type": "SHORT_TEXT",
- "label": "string",
- "configuration": { },
- "showOnChatCreate": true,
- "orderIndex": 0
}Updates a configured user input for the AI.
| aiId required | string The identifier of the AI. |
| userInputId required | string The identifier of the user input. |
| variableName required | string |
| type required | string (AIUserInputType) Enum: "SHORT_TEXT" "LONG_TEXT" "TEXT_CHOICE" "IMAGE_CHOICE" "DATE" "NUMBER" "PHONE_NUMBER" "FILE_UPLOAD" "DISPLAY" "ADDRESS" |
| label required | string |
| configuration required | object |
| showOnChatCreate | boolean |
| orderIndex | integer |
{- "variableName": "string",
- "type": "SHORT_TEXT",
- "label": "string",
- "configuration": { },
- "showOnChatCreate": true,
- "orderIndex": 0
}{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "aiId": "string",
- "variableName": "string",
- "type": "SHORT_TEXT",
- "label": "string",
- "configuration": { },
- "showOnChatCreate": true,
- "orderIndex": 0
}Updates the order of configured user inputs for the AI.
| aiId required | string The identifier of the AI. |
required | Array of objects (AIUserInputOrderItem) | ||||
Array
| |||||
{- "inputs": [
- {
- "id": "string",
- "orderIndex": 0
}
]
}{- "success": true
}Retrieves the embedded client configuration for the AI.
| aiId required | string The identifier of the AI. |
{- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "orgId": "string",
- "aiId": "string",
- "key": "string",
- "data": {
- "hostUrl": "string",
- "headerBackgroundColor": "string",
- "borderColor": "string",
- "shadowColor": "string",
- "iconColor": "string",
- "textColor": "string",
- "linkColor": "string",
- "aiMessageColor": "string",
- "humanMessageColor": "string",
- "buttonColor": "string",
- "buttonTextColor": "string",
- "borderRadius": 0,
- "buttonImageUrl": "string",
- "buttonWidth": 0,
- "buttonHeight": 0,
- "buttonBackgroundColor": "string",
- "buttonBorderColor": "string",
- "buttonShadowColor": "string",
- "buttonBorderRadius": 0,
- "buttonBorderWidth": 0,
- "buttonPosition": "string",
- "buttonPositionX": 0,
- "buttonPositionY": 0,
- "backgroundColor": "string",
- "disableAutoFocus": true
}
}Updates the embedded client configuration for the AI.
| aiId required | string The identifier of the AI. |
string or Array of strings | |
| headerBackgroundColor | string |
| borderColor | string |
| shadowColor | string |
| iconColor | string |
| textColor | string |
| linkColor | string |
| aiMessageColor | string |
| humanMessageColor | string |
| buttonColor | string |
| buttonTextColor | string |
| borderRadius | integer |
| buttonImageUrl | string |
| buttonWidth | integer |
| buttonHeight | integer |
| buttonBackgroundColor | string |
| buttonBorderColor | string |
| buttonShadowColor | string |
| buttonBorderRadius | integer |
| buttonBorderWidth | integer |
| buttonPosition | string |
| buttonPositionX | integer |
| buttonPositionY | integer |
| backgroundColor | string |
| disableAutoFocus | boolean |
{- "hostUrl": "string",
- "headerBackgroundColor": "string",
- "borderColor": "string",
- "shadowColor": "string",
- "iconColor": "string",
- "textColor": "string",
- "linkColor": "string",
- "aiMessageColor": "string",
- "humanMessageColor": "string",
- "buttonColor": "string",
- "buttonTextColor": "string",
- "borderRadius": 0,
- "buttonImageUrl": "string",
- "buttonWidth": 0,
- "buttonHeight": 0,
- "buttonBackgroundColor": "string",
- "buttonBorderColor": "string",
- "buttonShadowColor": "string",
- "buttonBorderRadius": 0,
- "buttonBorderWidth": 0,
- "buttonPosition": "string",
- "buttonPositionX": 0,
- "buttonPositionY": 0,
- "backgroundColor": "string",
- "disableAutoFocus": true
}{- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "orgId": "string",
- "aiId": "string",
- "key": "string",
- "data": {
- "hostUrl": "string",
- "headerBackgroundColor": "string",
- "borderColor": "string",
- "shadowColor": "string",
- "iconColor": "string",
- "textColor": "string",
- "linkColor": "string",
- "aiMessageColor": "string",
- "humanMessageColor": "string",
- "buttonColor": "string",
- "buttonTextColor": "string",
- "borderRadius": 0,
- "buttonImageUrl": "string",
- "buttonWidth": 0,
- "buttonHeight": 0,
- "buttonBackgroundColor": "string",
- "buttonBorderColor": "string",
- "buttonShadowColor": "string",
- "buttonBorderRadius": 0,
- "buttonBorderWidth": 0,
- "buttonPosition": "string",
- "buttonPositionX": 0,
- "buttonPositionY": 0,
- "backgroundColor": "string",
- "disableAutoFocus": true
}
}Generates a new embedded client key for the AI.
| aiId required | string The identifier of the AI. |
{- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "orgId": "string",
- "aiId": "string",
- "key": "string",
- "data": {
- "hostUrl": "string",
- "headerBackgroundColor": "string",
- "borderColor": "string",
- "shadowColor": "string",
- "iconColor": "string",
- "textColor": "string",
- "linkColor": "string",
- "aiMessageColor": "string",
- "humanMessageColor": "string",
- "buttonColor": "string",
- "buttonTextColor": "string",
- "borderRadius": 0,
- "buttonImageUrl": "string",
- "buttonWidth": 0,
- "buttonHeight": 0,
- "buttonBackgroundColor": "string",
- "buttonBorderColor": "string",
- "buttonShadowColor": "string",
- "buttonBorderRadius": 0,
- "buttonBorderWidth": 0,
- "buttonPosition": "string",
- "buttonPositionX": 0,
- "buttonPositionY": 0,
- "backgroundColor": "string",
- "disableAutoFocus": true
}
}Lists secrets for the organization or a specific AI.
| aiId | string Filter secrets by AI ID. |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "data": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates a secret for the organization or a specific AI.
| name required | string |
| description required | string |
| data | string |
| aiId | string |
{- "name": "string",
- "description": "string",
- "data": "string",
- "aiId": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "data": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates an existing secret.
| secretId required | string The identifier of the secret. |
| description | string |
| data | string |
{- "description": "string",
- "data": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "data": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "modelFamily": "string",
- "releaseDate": "string",
- "externalModelId": "string",
- "contextSize": 0,
- "options": { },
- "isVisible": true,
- "creator": "string",
- "provider": "string",
- "isPrivate": true,
- "usageTier": "string",
- "isDisabled": true,
- "capabilities": { },
- "benchmarks": { }
}
]
}Retrieves available tenant categories for AI assignment.
| orgId | string Optional org ID for superusers. |
[- {
- "id": "string",
- "tenantId": 0,
- "name": "string",
- "description": "string",
- "sortOrder": 0,
- "isActive": true,
- "parentCategoryId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Retrieves tool templates available for the organization.
| limit | integer Maximum number of templates to return. |
| offset | integer Offset for pagination. |
{- "orgToolTemplates": [
- {
- "id": "string",
- "orgId": "string",
- "name": "string",
- "templateId": "string",
- "isEnabled": true,
- "isEnabledInChat": true,
- "orgConfiguration": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "template": {
- "id": "string",
- "name": "string",
- "logoImageUrl": "string",
- "instructions": "string"
}
}
], - "total": 0
}Retrieves details for a specific organization tool template.
| id required | string The template identifier. |
{- "id": "string",
- "orgId": "string",
- "name": "string",
- "templateId": "string",
- "isEnabled": true,
- "isEnabledInChat": true,
- "orgConfiguration": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "template": {
- "id": "string",
- "name": "string",
- "logoImageUrl": "string",
- "instructions": "string"
}
}Retrieves Google Drive OAuth accounts for the current user.
[- {
- "id": "string",
- "orgId": "string",
- "userId": "string",
- "provider": "GOOGLE",
- "externalId": "string",
- "label": "string",
- "data": { },
- "metadata": { },
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "refreshExpiresAt": "2019-08-24T14:15:22Z"
}
]Retrieves OneDrive OAuth accounts for the current user.
[- {
- "id": "string",
- "orgId": "string",
- "userId": "string",
- "provider": "GOOGLE",
- "externalId": "string",
- "label": "string",
- "data": { },
- "metadata": { },
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "refreshExpiresAt": "2019-08-24T14:15:22Z"
}
]Searches OneDrive files and folders.
| searchTerm required | string |
| oauthTokenId required | string |
{- "searchTerm": "string",
- "oauthTokenId": "string"
}{ }Retrieves child items for a OneDrive folder.
| id required | string |
| oauthTokenId required | string |
{- "id": "string",
- "oauthTokenId": "string"
}{ }Retrieves Confluence OAuth accounts for the current user.
[- {
- "id": "string",
- "orgId": "string",
- "userId": "string",
- "provider": "GOOGLE",
- "externalId": "string",
- "label": "string",
- "data": { },
- "metadata": { },
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "refreshExpiresAt": "2019-08-24T14:15:22Z"
}
]Searches Confluence content for selection.
| searchTerm required | string |
| oauthTokenId required | string |
{- "searchTerm": "string",
- "oauthTokenId": "string"
}{ }Retrieves Jira OAuth accounts for the current user.
[- {
- "id": "string",
- "orgId": "string",
- "userId": "string",
- "provider": "GOOGLE",
- "externalId": "string",
- "label": "string",
- "data": { },
- "metadata": { },
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "refreshExpiresAt": "2019-08-24T14:15:22Z"
}
]Searches Jira projects for selection.
| searchTerm required | string |
| oauthTokenId required | string |
{- "searchTerm": "string",
- "oauthTokenId": "string"
}{ }Retrieves GitHub OAuth accounts for the current user.
[- {
- "id": "string",
- "orgId": "string",
- "userId": "string",
- "provider": "GOOGLE",
- "externalId": "string",
- "label": "string",
- "data": { },
- "metadata": { },
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "issuedAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "refreshExpiresAt": "2019-08-24T14:15:22Z"
}
]Retrieves GitHub app installations for the current user.
{- "data": [
- {
- "id": 0,
- "installationId": "string",
- "targetId": "string",
- "targetType": "string",
- "targetLabel": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}Searches GitHub repositories accessible to an installation.
| searchTerm | string |
| gitHubAppInstallationId required | string |
| limit | integer |
| cursor | string |
{- "searchTerm": "string",
- "gitHubAppInstallationId": "string",
- "limit": 0,
- "cursor": "string"
}{- "data": [
- {
- "id": 0,
- "node_id": "string",
- "name": "string",
- "private": true
}
], - "pagination": {
- "nextCursor": "string"
}
}Previews repository content for selection.
| repo required | string |
| gitHubAppInstallationId required | string |
{- "repo": "string",
- "gitHubAppInstallationId": "string"
}{- "data": [
- {
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "url": "string",
- "html_url": "string",
- "git_url": "string",
- "download_url": "string",
- "type": "string",
- "owner": "string",
- "repo": "string",
- "content": "string"
}
]
}