Default

Deprecated

Ask a question to an AI across spaces that is accessible by the currently authenticated target.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
querystringRequired
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Return query details in the result

Responses
chevron-right
200

OK

application/json
get
/search/ask

Ask a question to an AI across spaces that is accessible by the currently authenticated target.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Return query details in the result

Body
querystringRequired
previousQueriesstring[] · max: 10OptionalDeprecated
Responses
chevron-right
200

OK

application/json
post
/search/ask
Deprecated

Get a list of questions recommended by AI for a list of content. Deprecated, use getRecommendedQuestionsInOrganization instead.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
documentsstring[] · min: 1 · max: 50Required
Responses
chevron-right
200

OK

application/json
post
/search/questions
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
querystring · max: 512Required
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/search
Deprecated

Ask a question to an AI within the context of the space.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
querystringRequired
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Return query details in the result

Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/search/ask

Ask a question to an AI within the context of the space.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Return query details in the result

Body
querystringRequired
previousQueriesstring[] · max: 10OptionalDeprecated
Responses
chevron-right
200

OK

application/json
post
/spaces/{spaceId}/search/ask

Ask a question to an AI within the context of the space and stream the answer as a Server-Sent Events URL.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
querystringRequired
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Ensure that the response is never null

Responses
chevron-right
200

OK

text/event-stream
get
/spaces/{spaceId}/search/ask/stream

Get a list of questions that can be asked in a space.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/search/questions

Stream a list of questions that can be asked in a space.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Responses
chevron-right
200

OK

text/event-stream
get
/spaces/{spaceId}/search/questions/stream

Get the current primary content revision for a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
or
or
or
get
/spaces/{spaceId}/content

Import content in a space.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Body
urlstring · uriRequired

URL of the content to import.

sourcestring · enumRequiredPossible values:
Responses
post
/spaces/{spaceId}/content/import

List all pages for the main revision content of a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/content/pages

List all files for the main revision content of a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/content/files

Get a file by its ID in the main revision of a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

fileIdstringRequired

The unique id of the file

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/content/files/{fileId}

Get a page by its ID in the primary content.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

pageIdstringRequired

The unique id of the page

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
or
or
get
/spaces/{spaceId}/content/page/{pageId}

Import external content into a page by its ID.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

pageIdstringRequired

The unique id of the page

Body
urlstring · uriRequired

URL of the content to import.

sourcestring · enumRequiredPossible values:
Responses
post
/spaces/{spaceId}/content/page/{pageId}/import

Get a page by its path in the primary content.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

pagePathstringRequired

The path of the page in the revision.

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
get
/spaces/{spaceId}/content/path/{pagePath}

Get a reusable content by its ID in the main revision of a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

reusableContentIdstringRequired

The unique id of the reusable content

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/content/reusable-contents/{reusableContentId}

Get the document for a page in a computed content.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
requeststringRequired

LZ-string compressed JSON request

Responses
chevron-right
200

Document computed

application/json
Responseone of
or
or
object · EmptyOptional
get
/spaces/{spaceId}/content/computed/document

Get the computed pages for a page in a computed content.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
requeststringRequired

LZ-string compressed JSON request

Responses
chevron-right
200

Computed pages and their associated files

application/json
get
/spaces/{spaceId}/content/computed/page

Get a document by its ID in a space.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

documentIdstringRequired

ID of the document in the space

Query parameters
schemastring · enumOptional

Version of the schema used for the document.

Possible values:
Responses
chevron-right
200

Document

application/json
get
/spaces/{spaceId}/documents/{documentId}

Get the latest content revision for a change request.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
or
or
or
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content

Import content in a change request.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

Body
urlstring · uriRequired

URL of the content to import.

sourcestring · enumRequiredPossible values:
Responses
post
/spaces/{spaceId}/change-requests/{changeRequestId}/content/import

List all pages in the content of a change request

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages

List all files in a change request content

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files

Get a file by its ID in the content of a change request

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

fileIdstringRequired

The unique id of the file

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}

Get a page by its ID in a change request.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

pageIdstringRequired

The unique id of the page

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
or
or
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}

Import external content into a page of a change-request by its ID.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

pageIdstringRequired

The unique id of the page

Body
urlstring · uriRequired

URL of the content to import.

sourcestring · enumRequiredPossible values:
Responses
post
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import

Get a page by its path in a change request.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

pagePathstringRequired

The path of the page in the revision.

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}

Get a reusable content by its ID in the content of a change request

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

changeRequestIdstringRequired

The unique ID of the change request or its number identifier in the space

reusableContentIdstringRequired

The unique id of the reusable content

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}

Get a specific revision in a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
or
or
or
get
/spaces/{spaceId}/revisions/{revisionId}

Return the semantic changes between a revision and its parent.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
limitnumberOptional

Limit the number of changes returned

Default: 10
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/revisions/{revisionId}/changes

List all pages in a revision

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/revisions/{revisionId}/pages

List all files in a revision

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/revisions/{revisionId}/files

Get a file in a revision by its ID

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

fileIdstringRequired

The unique id of the file

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}

Get a page by its ID in a revision.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

pageIdstringRequired

The unique id of the page

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
or
or
get
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}

Get a page by its path in a revision.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

pagePathstringRequired

The path of the page in the revision.

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
Responseone of
or
get
/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}

Get reusbale content in a revision by its ID

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

The unique id of the space

revisionIdstringRequired

The unique id of the revision

reusableContentIdstringRequired

The unique id of the reusable content

Query parameters
metadatabooleanOptional

If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.

Default: true
computedbooleanOptional

If false is passed, content will not be computed

Default: true
Responses
chevron-right
200

OK

application/json
get
/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}

Render an integration UI in the context of an installation.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
Query parameters
requeststringRequired

LZ-string compressed JSON request

Responses
chevron-right
200

ContentKit element to render

application/json
Responseone of

Output of the integration when rendering a UI.

or
get
/integrations/{integrationName}/render

Render an integration UI in the context of an installation.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
Body
componentIdstringRequired

ID of the component to render in the integration.

stateobjectOptional

Current local state of the UI.

contextone ofRequired

Object representing the context in which a ContentKit component is rendered.

or
or
or
or
actionany ofOptional
or
anyOptional
or
or
or
or
or
Responses
chevron-right
200

ContentKit element to render

application/json
Responseone of

Output of the integration when rendering a UI.

or
post
/integrations/{integrationName}/render

Install integration on a space using an existing installation

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
installationIdstringRequired

Identifier of the installation

Query parameters
extendedbooleanOptional

If true, returns the space object in each items. If false, returns the space ID in each items.

Default: false
Body
spacestringRequired

ID of the space to install the integration on

Responses
post
/integrations/{integrationName}/installations/{installationId}/spaces

Uninstall the integration from a space

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
installationIdstringRequired

Identifier of the installation

spaceIdstringRequired

The unique id of the space

Responses
delete
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}

No content

Update external IDs and configurations of an integration's installation for a space

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
installationIdstringRequired

Identifier of the installation

spaceIdstringRequired

The unique id of the space

Query parameters
extendedbooleanOptional

If true, returns the space object in each items. If false, returns the space ID in each items.

Default: false
Body
externalIdsstring[] · max: 5Optional

External IDs assigned by the integration.

Responses
chevron-right
200

The space installation has been updated.

application/json
patch
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}

Uninstall the integration from a site

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
installationIdstringRequired

Identifier of the installation

siteIdstringRequired

The unique id of the site

Responses
delete
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}

No content

Update external IDs and configurations of an integration's installation for a site

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[a-zA-Z0-9-_.]+$
installationIdstringRequired

Identifier of the installation

siteIdstringRequired

The unique id of the site

Query parameters
extendedbooleanOptional

If true, returns the site object in each items. If false, returns the site ID in each items.

Default: false
Body
externalIdsstring[] · max: 5Optional

External IDs assigned by the integration.

Responses
chevron-right
200

The site installation has been updated.

application/json
patch
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}

Ask a question.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Return query details in the result

Body
querystringRequired
previousQueriesstring[] · max: 10OptionalDeprecated
Responses
chevron-right
200

OK

application/json
post
/orgs/{organizationId}/ask

Get a list of questions recommended to be asked in an organization.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

Responses
chevron-right
200

OK

application/json
get
/orgs/{organizationId}/ask/questions

Stream a list of questions recommended to be asked in an organization.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

Responses
chevron-right
200

OK

text/event-stream
get
/orgs/{organizationId}/ask/questions/stream

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.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

Query parameters
querystringRequired
formatstring · enumOptional

Output format for the content.

Possible values:
detailsbooleanOptional

Return query details in the result

Responses
chevron-right
200

OK

text/event-stream
get
/orgs/{organizationId}/ask/stream

Search content in a site

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

siteIdstringRequired

The unique id of the site

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Body
and
anyOptional
or
or
or
Responses
chevron-right
200

OK

application/json
post
/orgs/{organizationId}/sites/{siteId}/search

Ask a question in a site. The response is streamed.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

siteIdstringRequired

The unique id of the site

Query parameters
formatstring · enumOptional

Output format for the content.

Possible values:
Body
questionstring · max: 512Required
scopeone ofRequired
or
or
Responses
chevron-right
200

OK

text/event-stream
post
/orgs/{organizationId}/sites/{siteId}/ask

Last updated

Was this helpful?