API reference

Query a text execution

GET/v1/text-runs/{id}

Use 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_KEY

Authentication schemes: BearerAuth

Request

Path parameters

  • idstringRequired

Responses and errors

HTTP 200

Read successful.

application/json

Type
object
Required fields
idrequest_idmodelstateversionexpires_atresult_deleted

HTTP 202

Execution is pending or requires confirmation.

application/json

Type
object
Required fields
idrequest_idmodelstateversionexpires_atresult_deleted

HTTP 400

Invalid input.

application/json

Type
object
Required fields
error

HTTP 401

The key is missing, invalid, expired, or revoked.

application/json

Type
object
Required fields
error

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 404

Your execution was not found; this does not prove an uncertain generation was not billed.

application/json

Type
object
Required fields
error

HTTP 409

Request ID content conflicts, or an in-flight execution cannot be deleted.

application/json

Type
object
Required fields
error

HTTP 429

Request/queue rate limit.

application/json

Type
object
Required fields
error

HTTP 500

Internal authentication or data storage failure.

application/json

Type
object
Required fields
error

HTTP 503

Temporarily unavailable; query the original request if its submitted result is uncertain.

application/json

Type
object
Required fields
error