Skip to content
Sign in Create account

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

  • requestId string (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

  • error object required
    • message string required
    • code string required
      Value: "invalid_request_id"
    • type string required
      Value: "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

  • error object required
    • message string required
    • code string required
      Value: "buffer_not_found"
    • type string required
      Value: "not_found"
429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string