curl --request POST \
--url https://apigcp.trynia.ai/v2/vaults/{vault_id}/agent \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Stream an AI agent response that can search/read the vault.
Returns an SSE stream of events (same shape as the document agent). Charges one QUERY credit per call; refunds on failure.
curl --request POST \
--url https://apigcp.trynia.ai/v2/vaults/{vault_id}/agent \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?