Get limits
Read your key’s limits and your account’s money in one answer, free, before a batch or any call that must fit a budget.
curl --request GET \
--url https://api.getclean.ai/v1/limits \
--header 'Authorization: Bearer <token>'{
"balance": {
"amount": "42.1000",
"currency": "USD"
},
"usage": {
"starts_at": "2026-11-01T00:00:00Z",
"ends_at": "2026-12-01T00:00:00Z",
"units": {
"contents": 1840,
"model_steps": 212,
"searches": 96
},
"spent": {
"amount": "17.9000",
"currency": "USD"
}
},
"prices": {
"contents": {
"amount": "0.0050",
"currency": "USD"
},
"model_steps": {
"amount": "0.0020",
"currency": "USD"
},
"screenshots": {
"amount": "0.0010",
"currency": "USD"
},
"document_pages": {
"amount": "0.0010",
"currency": "USD"
},
"recognized_pages": {
"amount": "0.0050",
"currency": "USD"
},
"searches": {
"amount": "0.0100",
"currency": "USD"
},
"datasource_queries": {
"amount": "0.0010",
"currency": "USD"
}
},
"caps": {
"call_cap": {
"amount": "0.0500",
"currency": "USD"
}
},
"rates": {
"requests_per_minute": 600,
"concurrency": 20,
"resets_at": "2026-11-05T09:01:00Z"
},
"bounds": {
"contents": {
"max_characters": {
"min": 0,
"max": 1000000,
"default_value": 20000,
"excluded_min": 1,
"excluded_max": 999
},
"list_blocks.max_characters": {
"min": 1000,
"max": 1000000,
"default_value": 20000
},
"max_total_characters": {
"min": 1000,
"max": 2000000,
"default_value": 200000
},
"wait_seconds": {
"min": 5,
"max": 90,
"default_value": 30
},
"get_job.wait_seconds": {
"min": 0,
"max": 90,
"default_value": 0
},
"page_size": {
"min": 1,
"max": 200,
"default_value": 50
},
"items": {
"min": 1,
"max": 20
},
"highlights": {
"min": 1,
"max": 5
},
"recognition_languages": {
"min": 1,
"max": 10
},
"call_seconds": {
"max": 110
},
"batch_seconds": {
"max": 600
},
"queue_seconds": {
"max": 30
},
"model_step_seconds": {
"max": 20
},
"screenshot_seconds": {
"max": 15
},
"screenshot_bytes": {
"max": 20000000
},
"job_seconds": {
"max": 1800
},
"read_seconds": {
"max": 10
},
"page_bytes": {
"max": 20000000
},
"document_bytes": {
"max": 104857600
},
"document_base64_bytes": {
"max": 20971520
},
"document_pages": {
"max": 2000
},
"document_page_characters": {
"default_value": 5000
},
"body_bytes": {
"max": 256000
},
"batch_body_bytes": {
"max": 4194304
},
"compare_body_bytes": {
"max": 8388608
},
"redirects": {
"max": 10
},
"links": {
"max": 1000
},
"section_rows": {
"max": 200
},
"highlight_occurrences": {
"max": 50
},
"summary_characters": {
"max": 1500
},
"structured_data_bytes": {
"max": 64000
},
"recognition_confidence_min": {
"min": 0.6
},
"version_notice_days": {
"default_value": 90
}
},
"search": {
"max_candidates": {
"min": 1,
"max": 50,
"default_value": 10
},
"max_per_datasource": {
"min": 1,
"max": 100,
"default_value": 10
},
"max_excerpt_characters": {
"min": 0,
"max": 4000,
"default_value": 600
},
"max_total_characters": {
"min": 1000,
"max": 200000,
"default_value": 40000
},
"wait_seconds": {
"min": 0.2,
"max": 60,
"default_value": 10
},
"get_search.page_size": {
"min": 1,
"max": 50
},
"list_datasources.page_size": {
"min": 1,
"max": 200,
"default_value": 50
},
"items": {
"min": 1,
"max": 20
},
"datasources": {
"min": 1,
"max": 10
},
"alternate_queries": {
"min": 1,
"max": 10
},
"call_seconds": {
"max": 60
},
"batch_seconds": {
"max": 300
},
"queue_seconds": {
"max": 30
},
"model_step_seconds": {
"max": 20
},
"body_bytes": {
"max": 256000
},
"batch_body_bytes": {
"max": 4194304
}
}
},
"document_media_types": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/msword",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.ms-excel",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.oasis.opendocument.text",
"application/epub+zip",
"application/rtf",
"text/markdown",
"text/csv",
"text/html",
"application/xhtml+xml",
"application/xml",
"application/json",
"application/yaml",
"text/plain",
"image/png",
"image/jpeg",
"image/tiff",
"image/webp",
"image/heic"
],
"exits": [
"DE",
"FR",
"GB",
"US"
],
"recognition_languages": [
"en",
"de",
"fr",
"es",
"it",
"nl",
"pt",
"tr"
],
"archives": [
"Wayback Machine"
],
"default_exit": "DE",
"policy": {
"deterministic_only": false,
"safe_search": "moderate",
"retention": "hold",
"allowed_domains": [],
"blocked_domains": [],
"refuse_credential_urls": false
},
"versions": [
{
"version": "1.0.0",
"released_at": "2026-10-01T00:00:00Z",
"changes_url": "https://api.getclean.ai/versions/1.0.0"
}
],
"current_version": "1.0.0",
"version_minimum_days": 90,
"request_id": "req_01ZWyyr8KwLQuLkEAedYvD"
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}max_cost is the protection, and prices gives every unit’s price.
What it costs
The key needslimits:read. The call is free. The answer is 200 with Limits, never cached, since it is the key’s own.
Refused before any work
An unknown query parameter:400 invalid-request, unknown_field.
Problem types
- 400
invalid-request, The request is invalid. - 401
unauthorized, The key is missing or rejected. - 403
insufficient-scope, The key lacks a scope this call needs. - 429
rate-limit-exceeded, The rate limit is exceeded;concurrency-limit-exceeded, Too many calls are in flight. - 500
internal-error, The service failed. - 503
overloaded, The service is overloaded.
Authorizations
An API key from https://app.getclean.ai, or an access token issued by https://auth.getclean.ai/realms/getclean, sent as Authorization: Bearer <key> on every call. The scopes a key carries and what a 401 and a 403 say are on the keys and sign-in page.
Headers
Your own trace id for the call, the W3C Trace Context traceparent header, optional on every operation. getclean logs it with the call, so a request in your traces can be matched to its Request-Id, and never forwards it to a site or a source, a stated departure from W3C Trace Context section 3.4, which asks a vendor to pass it on. A malformed value is ignored, never refused, as the same recommendation asks.
Response
The key's limits and the account's money, as they stand at this call.
Your key's limits and your account's money, the answer of get_limits. Read it once before a batch or a long run: every price, bound and default you may meet stands here. It is the key's own and is never cached.
curl --request GET \
--url https://api.getclean.ai/v1/limits \
--header 'Authorization: Bearer <token>'{
"balance": {
"amount": "42.1000",
"currency": "USD"
},
"usage": {
"starts_at": "2026-11-01T00:00:00Z",
"ends_at": "2026-12-01T00:00:00Z",
"units": {
"contents": 1840,
"model_steps": 212,
"searches": 96
},
"spent": {
"amount": "17.9000",
"currency": "USD"
}
},
"prices": {
"contents": {
"amount": "0.0050",
"currency": "USD"
},
"model_steps": {
"amount": "0.0020",
"currency": "USD"
},
"screenshots": {
"amount": "0.0010",
"currency": "USD"
},
"document_pages": {
"amount": "0.0010",
"currency": "USD"
},
"recognized_pages": {
"amount": "0.0050",
"currency": "USD"
},
"searches": {
"amount": "0.0100",
"currency": "USD"
},
"datasource_queries": {
"amount": "0.0010",
"currency": "USD"
}
},
"caps": {
"call_cap": {
"amount": "0.0500",
"currency": "USD"
}
},
"rates": {
"requests_per_minute": 600,
"concurrency": 20,
"resets_at": "2026-11-05T09:01:00Z"
},
"bounds": {
"contents": {
"max_characters": {
"min": 0,
"max": 1000000,
"default_value": 20000,
"excluded_min": 1,
"excluded_max": 999
},
"list_blocks.max_characters": {
"min": 1000,
"max": 1000000,
"default_value": 20000
},
"max_total_characters": {
"min": 1000,
"max": 2000000,
"default_value": 200000
},
"wait_seconds": {
"min": 5,
"max": 90,
"default_value": 30
},
"get_job.wait_seconds": {
"min": 0,
"max": 90,
"default_value": 0
},
"page_size": {
"min": 1,
"max": 200,
"default_value": 50
},
"items": {
"min": 1,
"max": 20
},
"highlights": {
"min": 1,
"max": 5
},
"recognition_languages": {
"min": 1,
"max": 10
},
"call_seconds": {
"max": 110
},
"batch_seconds": {
"max": 600
},
"queue_seconds": {
"max": 30
},
"model_step_seconds": {
"max": 20
},
"screenshot_seconds": {
"max": 15
},
"screenshot_bytes": {
"max": 20000000
},
"job_seconds": {
"max": 1800
},
"read_seconds": {
"max": 10
},
"page_bytes": {
"max": 20000000
},
"document_bytes": {
"max": 104857600
},
"document_base64_bytes": {
"max": 20971520
},
"document_pages": {
"max": 2000
},
"document_page_characters": {
"default_value": 5000
},
"body_bytes": {
"max": 256000
},
"batch_body_bytes": {
"max": 4194304
},
"compare_body_bytes": {
"max": 8388608
},
"redirects": {
"max": 10
},
"links": {
"max": 1000
},
"section_rows": {
"max": 200
},
"highlight_occurrences": {
"max": 50
},
"summary_characters": {
"max": 1500
},
"structured_data_bytes": {
"max": 64000
},
"recognition_confidence_min": {
"min": 0.6
},
"version_notice_days": {
"default_value": 90
}
},
"search": {
"max_candidates": {
"min": 1,
"max": 50,
"default_value": 10
},
"max_per_datasource": {
"min": 1,
"max": 100,
"default_value": 10
},
"max_excerpt_characters": {
"min": 0,
"max": 4000,
"default_value": 600
},
"max_total_characters": {
"min": 1000,
"max": 200000,
"default_value": 40000
},
"wait_seconds": {
"min": 0.2,
"max": 60,
"default_value": 10
},
"get_search.page_size": {
"min": 1,
"max": 50
},
"list_datasources.page_size": {
"min": 1,
"max": 200,
"default_value": 50
},
"items": {
"min": 1,
"max": 20
},
"datasources": {
"min": 1,
"max": 10
},
"alternate_queries": {
"min": 1,
"max": 10
},
"call_seconds": {
"max": 60
},
"batch_seconds": {
"max": 300
},
"queue_seconds": {
"max": 30
},
"model_step_seconds": {
"max": 20
},
"body_bytes": {
"max": 256000
},
"batch_body_bytes": {
"max": 4194304
}
}
},
"document_media_types": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/msword",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.ms-excel",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.oasis.opendocument.text",
"application/epub+zip",
"application/rtf",
"text/markdown",
"text/csv",
"text/html",
"application/xhtml+xml",
"application/xml",
"application/json",
"application/yaml",
"text/plain",
"image/png",
"image/jpeg",
"image/tiff",
"image/webp",
"image/heic"
],
"exits": [
"DE",
"FR",
"GB",
"US"
],
"recognition_languages": [
"en",
"de",
"fr",
"es",
"it",
"nl",
"pt",
"tr"
],
"archives": [
"Wayback Machine"
],
"default_exit": "DE",
"policy": {
"deterministic_only": false,
"safe_search": "moderate",
"retention": "hold",
"allowed_domains": [],
"blocked_domains": [],
"refuse_credential_urls": false
},
"versions": [
{
"version": "1.0.0",
"released_at": "2026-10-01T00:00:00Z",
"changes_url": "https://api.getclean.ai/versions/1.0.0"
}
],
"current_version": "1.0.0",
"version_minimum_days": 90,
"request_id": "req_01ZWyyr8KwLQuLkEAedYvD"
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}{
"type": "https://api.getclean.ai/problems/invalid-request",
"title": "A field is invalid",
"detail": "formats holds a value outside its set.",
"instance": "https://api.getclean.ai/requests/req_01JSUEOJ23EQgBxGjfSpcD",
"request_id": "req_01JSUEOJ23EQgBxGjfSpcD",
"who_must_act": "caller",
"retryable": true,
"status": 123,
"retry_after_seconds": 2,
"change": {
"field": "page_token",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
},
"operation": "fetch_contents"
},
"violations": [
{
"kind": "bound",
"place": "body",
"field": "formats",
"message": "<string>",
"pointer": "/formats/0",
"allowed_values": [
"<string>"
],
"bounds": {
"min": 123,
"max": 123,
"default_value": 123,
"excluded_min": 123,
"excluded_max": 123
}
}
],
"balance": {
"amount": "0.0500",
"currency": "USD"
},
"amount_needed": {
"amount": "0.0500",
"currency": "USD"
},
"funding_url": "<string>",
"minimum_cap": {
"amount": "0.0500",
"currency": "USD"
},
"run_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"key_budget_remaining": {
"amount": "0.0500",
"currency": "USD"
},
"demand": "<string>",
"demanded_by": "<string>",
"applies_to": "<string>",
"expired_at": "2023-11-07T05:31:56Z",
"scopes_required": [
"contents:fetch"
]
}