API reference

Retrieve a stored chat completion

GET/v1/chat/completions/{completion_id}

Only complete, settled results explicitly saved with store=true are accessible to the same API Key for seven days. An empty query does not prove non-execution: never automatically refund or resend. store and metadata do not guarantee idempotency.

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

Responses and errors

HTTP 200

Success

application/json

Type
object
Additional properties
false

HTTP 400

Invalid parameters

application/json

Type
object
Required fields
error

HTTP 401

Invalid Key

application/json

Type
object
Required fields
error

HTTP 404

Result missing, deleted, expired, or not yet deliverable

application/json

Type
object
Required fields
error

HTTP 503

Temporarily unavailable

application/json

Type
object
Required fields
error