For the complete documentation index, see llms.txt. This page is also available as Markdown.

Allowances

Refresh Allowance

post

Refreshes the usage allowances for the company associated with the current API key.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
200

Successful response

application/json
objectOptional
post/api/v1/allowances/refresh
POST /api/v1/allowances/refresh HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}

Get Company Allowance

get

Retrieves the current allowance limits, usage, and remaining capacity for the company associated with the current API key.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
200

Successful response

application/json
get/api/v1/my/company/allowance
GET /api/v1/my/company/allowance HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "data": {
    "allowance": {},
    "usage": {},
    "remaining": {}
  }
}

Last updated

Was this helpful?