POST
/
private
/
v2
/
tools
/
guidelines
curl --request POST \
  --url https://api.{environment}.corti.app/v2/private/v2/tools/guidelines \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "context": [
    "<string>"
  ],
  "sourceIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "summary": "<string>",
  "sources": [
    {
      "favicon": "<string>",
      "title": "<string>",
      "url": "<string>",
      "type": "<string>",
      "description": "<string>"
    }
  ]
}

Headers

Tenant-Name
string

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"copiloteu"

Body

application/json
query
string
required

The text-based query from the user.

context
string[]
required

An array of contexts, such as documents or relevant segments.

sourceIds
string[]
required

An array of source IDs to narrow down the search.

Response

200
application/json
Returns a summary and a list of relevant sources.
summary
string

A summary of the response.

sources
object[]