Embed QuerioEmbedded API

Start a conversation

POST
/v2/embed/{customer_slug}/conversations

Authorization

bearerAuth
AuthorizationBearer <token>

Include your API token in the Authorization header:

Authorization: Bearer <token>

Tokens are created in the Querio workspace settings under Embedded > API Tokens.

In: header

Path Parameters

customer_slug*string

Customer slug that maps to a workspace and agent configuration.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/embed/dunder-mifflin/conversations" \  -H "Content-Type: application/json" \  -d '{    "prompt": "Show me the last 10 orders",    "datasourceSlug": "orders",    "model": "claude-sonnet-5",    "scope": {      "customer_id": "acme-corp"    },    "environment": "production",    "tags": {      "team": "sales",      "source": "app"    }  }'
{  "conversationId": "38770bb6-b14b-405c-aed6-71e8849c77dc"}
{  "error": "Unsupported model",  "message": "Model ID not in supported list"}

{  "error": "Missing or invalid Authorization header",  "message": "No Bearer token or invalid token"}

{  "error": "Token does not have access to this consumer",  "message": "Token workspace does not match consumer"}
{  "error": "Unknown consumer",  "message": "Customer slug not configured"}

Last updated on October 19, 2026