Error
A valid request URL is required to generate request examples{
"status": "ok",
"results": "<unknown>"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Projects
Update agent SQL scope
Update the agent SQL scope for a project
PATCH
/
api
/
v1
/
projects
/
{projectUuid}
/
agentSqlScope
Error
A valid request URL is required to generate request examples{
"status": "ok",
"results": "<unknown>"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Path Parameters
Body
application/json
Restricts which part of the warehouse the AI agent may read via raw SQL.
Null (or an empty schemas list) means unrestricted — the agent can reach
anything the project's warehouse connection can reach, which is the
behaviour for every project that has not configured a scope.
This is a correctness control rather than a security boundary: raw SQL
already requires manage SqlRunner, so the same data is reachable through
the SQL Runner regardless. It exists so an agent can be kept off schemas a
customer knows are wrong to answer from, such as a retired dbt project
living in the same catalog as the current one.
Show child attributes
Show child attributes
Was this page helpful?