API reference
Read text execution capabilities
/v1/text-capabilitiesUse an ordinary GloopAPI Key. Text-only Chat Completions models with optional streaming are supported; Responses, tools and multimodal input are unsupported. Repeating the same Key and request_id returns the original execution without generating again; changed content returns 409. unknown does not mean free or failed: query the original request. output is returned only after settlement and complete persistence. Content expires after seven days; request IDs and accounting records survive deletion or expiry.
Authentication and permissions
Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.
Authorization: Bearer $GLOOP_API_KEYAuthentication schemes: BearerAuth
Responses and errors
HTTP 200
Read successful.
application/json
- Type
- object
- Required fields
versiontoken_idmax_output_tokensmax_body_bytes
versionintegerRequired- Enum
[1]
token_idintegerRequiredmax_output_tokensintegerRequiredmax_body_bytesintegerRequiredstreambooleanOptionalWhether text streaming is supported; absent means unsupported.
toolsbooleanOptionalThe current text execution API does not support tool calls.
- Enum
[false]
HTTP 400
Invalid input.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 401
The key is missing, invalid, expired, or revoked.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 403
Insufficient IP, account, model, or tool permissions.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 404
Your execution was not found; this does not prove an uncertain generation was not billed.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 409
Request ID content conflicts, or an in-flight execution cannot be deleted.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 429
Request/queue rate limit.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 500
Internal authentication or data storage failure.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 503
Temporarily unavailable; query the original request if its submitted result is uncertain.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional