ai-usage

Get AI usage

This endpoint returns instance of AI usage.

get/reports/ai-usage/{ai_usage}

Request

  • Base URL
    https://example.scalr.io/api/iacp/v3
  • URL
    https://example.scalr.io/api/iacp/v3/reports/ai-usage/{ai_usage}
  • Auth
    HTTP bearer

Path parameters

ai_usagestring required

The ID of the AI usage instance.

Query parameters

includestring[]

The comma-separated list of relationship paths.

ai-usagesstring

The comma-separated list of fields to return in response for AiUsage resource.

runsstring

The comma-separated list of fields to return in response for Run resource.

The value of the fields[resource-type] parameter is a comma-separated list that refers to the name of the fields to be returned for the resource. An empty value indicates that no fields should be returned.

Response

Success.

includedobject[]
metaobject

Changes

No recorded changes to this operation across all 2 revisions of this API.