Skip to main content
POST
Estimate the credits a launch costs

Headers

x-project-id
string
required

Project ID to specify the project context

Path Parameters

projectId
string<uuid>
required

Body

application/json
aiModels
string[]
required

Models that answer every selected query, by id or rolling alias

Example:
executionCount
number
required

How many times each query runs on each model

Required range: 1 <= x <= 100
Example:

3

selection
object

Absent: every query of the project

Response

credits
number
required

Credits the launch costs

available
number
required

Credits the project can draw on