cURL
curl --request POST \ --url https://aiapi.scope3.com/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "requestId": "124ab1c", "caller": "//bigquery.googleapis.com/projects/myproject/jobs/myproject:US.bquxjob_5b4c112c_17961fafeaf", "sessionUser": "user@company.com", "userDefinedContext": {}, "calls": [ [ "gpt-4-turbo", "2024-03-15T10:30:00Z", "us-central1", "US", "CA", "text-generation", 100, 50, null ] ] }'
{ "replies": [ "<string>" ], "errorMessage": "<string>" }
Processes batched impact calculations for BigQuery remote function calls
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Impact metrics calculated successfully
The response is of type object.
object