POST
/
api
/
v1
/
api-key
/
record-usage
curl --request POST \
  --url https://prod.oneloop.ai/api/v1/api-key/record-usage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "usage": "0",
  "usageName": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
key
string
required
usage
string
default:0
usageName
string

Response

200
application/json
The record usage result

The response is of type object.