For the complete documentation index, see llms.txt. This page is also available as Markdown.

RLM

Recursive Language Model endpoints.

Create an RLM response

post

OpenAI Responses-style endpoint for Recursive Language Model execution. Accepts a strict subset of the Responses request shape and proxies to the internal RLM backend.

Authorizations
AuthorizationstringRequired

API key in Authorization header using Bearer .

Body

Strict OpenAI Responses-style request supported by the RLM gateway endpoint.

modelstringRequired

Model slug to run through the RLM backend.

inputany ofRequired

String input or a text-only array of Responses message items.

stringOptional
or
RLMResponsesInputMessage[]Optional
instructionsstring · nullableOptional

Optional top-level instructions mapped to the backend root prompt.

backgroundboolean · nullableOptional

When true, start the RLM run in the background and return an in-progress response resource that can be retrieved later.

Default: false
reasoningany of · nullableOptional

Optional reasoning controls.

storeboolean · nullableOptional

Must be false or omitted. Stateful Responses storage is not supported.

streamboolean · nullableOptional

Must be false or omitted. Streaming is not supported for this route.

rlmany of · nullableOptional

RLM-specific execution controls.

Responses
200

Successful Response

application/json
idstringRequired
objectconst: responseOptionalDefault: response
created_atintegerRequired
statusstring · enumRequiredPossible values:
modelstringRequired
storebooleanOptionalDefault: false
output_textstring · nullableOptional
post/v1/rlm/responses

Get an RLM response

get

Retrieve a background RLM response resource by id within the authenticated project.

Authorizations
AuthorizationstringRequired

API key in Authorization header using Bearer .

Path parameters
response_idstringRequired
Responses
200

Successful Response

application/json
idstringRequired
objectconst: responseOptionalDefault: response
created_atintegerRequired
statusstring · enumRequiredPossible values:
modelstringRequired
storebooleanOptionalDefault: false
output_textstring · nullableOptional
get/v1/rlm/responses/{response_id}

Last updated