POST /projects/{projectId}/charts/samples
POST /api/v1/projects/{projectId}/charts/samples on the Caveman Cloud control plane. Requires the trace:read_metadata scope. Exposed to autonomous agents as the samples action of the caveman_charts tool (read access). Run a chart spec (time series, top list or big number) over requests, spans, tool executions or evals; open the traces behind a point; read the field catalog, presets, data-driven suggestions and filter values.
post/projects/{projectId}/charts/samples
Request
- Base URLhttps://api.caveman.so/api/v1
- URLhttps://api.caveman.so/api/v1/projects/{projectId}/charts/samples
- Auth
- OAuth 2Authorization code: /api/v1/oauth/authorizeToken URL: /api/v1/oauth/token scopes: trace:read_metadata
- or HTTP bearer
- or API key in cookie cave_access
- or API key in cookie __Secure-cave_identity.session_token
Query parameters
sample_databoolean
Request body
Response
Successful response. Exact status depends on synchronous or durable delivery outcome.
Changes
No recorded changes to this operation across all 1 revision of this API.