curl --request POST \
--url https://api.bedrock.cv/projects/{project_id}/ask \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"question": "<string>"
}
'{
"answer": "<string>",
"sources": [
{
"source_type": "block",
"source_id": "<string>",
"label": "<string>",
"score": 123
}
]
}Ask a natural language question about a project and get an AI-generated answer with source citations.
curl --request POST \
--url https://api.bedrock.cv/projects/{project_id}/ask \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"question": "<string>"
}
'{
"answer": "<string>",
"sources": [
{
"source_type": "block",
"source_id": "<string>",
"label": "<string>",
"score": 123
}
]
}| Question | What it finds |
|---|---|
| ”What fire rating is required for the stairwell doors?” | Spec blocks, general notes referencing fire ratings |
| ”How many parking spaces are shown?” | Site plan blocks with parking counts |
| ”What concrete mix is specified for the foundation?” | Specification sheets, structural notes |
| Field | Description |
|---|---|
source_type | Type of content matched (block, feature, or file) |
source_id | ID of the matched entity |
label | Human-readable label (e.g. sheet number, file name) |
score | Relevance score (higher is better) |
API key prefixed with sk_. Example: Authorization: Bearer sk_xxx
API version
Project ID