Organization AI ask
Unlock AI-driven answers for your organization’s content and data.
Enhance your team’s knowledge base with the Organization AI ask endpoint, which allows you to query AI models trained on your organization’s GitBook content for quick, intelligent responses.
Ask a question to an AI across spaces that is accessible by the currently authenticated target.
Authorizations
Path parameters
organizationIdstringrequired
The unique id of the organization
Query parameters
formatstring · enumoptionalAvailable options:
Output format for the content.
detailsbooleanoptional
Return query details in the result
Body
querystringrequired
previousQueriesstring[] · max: 10optionalDeprecated
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Ask a question to an AI across spaces that is accessible by the currently authenticated target and stream the answer as a Server-Sent Events URL.
Authorizations
Path parameters
organizationIdstringrequired
The unique id of the organization
Query parameters
querystringrequired
formatstring · enumoptionalAvailable options:
Output format for the content.
detailsbooleanoptional
Return query details in the result
Responses
text/event-stream
cURL
JavaScript
Python
HTTP
200
Was this helpful?