Api referenceUsage

Get Workspace Costs

Reference for Get Workspace Costs in the Veriom v1 API, including request, response, and authentication details.

GET/v1/workspaces/{workspace_id}/costs

Get Workspace Costs. Returns a typed response and a request ID for operational support.

Authorization

veriom_session<token>

Opaque HttpOnly customer session. Mutations also require X-CSRF-Token.

In: cookie

Path Parameters

workspace_id*Workspace Id
Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/costs"
{
  "actual_month_to_date_usd": "string",
  "analysis_cost_usd": "string",
  "assistant_cost_usd": "0",
  "audit_costs": [
    {
      "analysis_cost_usd": "0",
      "audit_id": "78c04fa6-cfb4-46a0-9aa5-3681ba4f3897",
      "cached_input_tokens": 0,
      "cost_usd": "string",
      "input_tokens": 0,
      "model_calls": 0,
      "models": [
        "string"
      ],
      "output_tokens": 0,
      "remediation_cost_usd": "0"
    }
  ],
  "audit_statuses": [
    {
      "count": 0,
      "status": "string"
    }
  ],
  "cached_input_tokens": 0,
  "input_tokens": 0,
  "model_calls": 0,
  "output_tokens": 0,
  "period": "string",
  "projected_month_usd": "string",
  "projection_basis": "string",
  "remediation_cost_usd": "string",
  "remediation_statuses": [
    {
      "count": 0,
      "status": "string"
    }
  ],
  "trend": [
    {
      "analysis_cost_usd": "string",
      "assistant_cost_usd": "0",
      "assistant_questions": 0,
      "audits_started": 0,
      "date": "string",
      "remediation_cost_usd": "string",
      "remediations_started": 0
    }
  ]
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}
{
  "code": "validation_failed",
  "detail": "The request body did not match the documented schema.",
  "instance": "/v1/audits",
  "request_id": "018f6f5d-36a2-7a2d-a8f6-ec1a55c03e45",
  "status": 422,
  "title": "Validation Failed",
  "type": "https://api.veriom.ai/problems/validation_failed"
}