Skip to main content
POST
Preview what a skill set costs the prompt

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Body

application/json

Request body for previewing tier-1 skill disclosure. Read-only: nothing is stored, and the attachments do not have to belong to any agent yet.

skills
object[] | null
required

The attachment list exactly as it would be saved on the agent, including group entries, which are expanded here the same way a session start expands them. Capped at the 100 skills a session can carry.

Maximum array length: 100
context_window_tokens
integer

The context window of the model the agent will run on. Omit to be answered against the conservative floor this service uses when a window is unknown.

Required range: -9007199254740991 <= x <= 9007199254740991

Response

What a set of skill attachments costs the model's prompt on every turn, and which skills the budget has reduced to a bare name. A skill listed without its description is still activatable but is unlikely to be chosen, because the description is the only signal the model has for choosing it.

What a set of skill attachments costs the model's prompt on every turn, and which skills the budget has reduced to a bare name. A skill listed without its description is still activatable but is unlikely to be chosen, because the description is the only signal the model has for choosing it.

budget_chars
integer
required

Characters of prompt this session's model allows tier-1 skill disclosure to spend each turn.

Required range: -9007199254740991 <= x <= 9007199254740991
entries
object[]
required

Every attached skill in disclosure order, and whether the model is told what it is for.

used_chars
integer
required

Characters the rendered catalog actually occupies. Measured from the same pass that produces the prompt, not estimated.

Required range: -9007199254740991 <= x <= 9007199254740991
warnings
string[]
required

What resolving and rendering this set cost: unresolvable references, truncated descriptions, and skills reduced to a name.