Retrieve buffered streaming response by request ID
GET /api/buffer/{requestId}
Retrieves a buffered response for the authenticated user and request ID. API keys require the explicit buffer permission and can read only responses stored with that key; Sanctum PATs require the buffer ability and retain the user ownership filter. The ID must be a UUID; malformed IDs return 400, while missing, expired, or already retrieved responses return 404. Retrieval conditionally deletes the unread row inside a transaction before returning its payload.
Authenticate with a portal session token or an API key.
Parameters
requestIdstring (uuid) path required
Responses
200 Buffered response returned after conditional deletion of the unread row inside a transaction.
application/json object
Any keys are accepted.
400 The request identifier is invalid.
application/json object
errorobject requiredmessagestring requiredcodestring requiredValue:"invalid_request_id"typestring requiredValue:"invalid_request"
401 Missing or invalid bearer token or API key.
application/json object
Any keys are accepted.
403 A 403 response means that the credential lacks the required buffer permission or ability, or that the API key was rejected by its IP allowlist.
application/json object
Any keys are accepted.
404 The buffered response was not found, expired, or already retrieved.
application/json object
errorobject requiredmessagestring requiredcodestring requiredValue:"buffer_not_found"typestring requiredValue:"not_found"
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string