Skip to main content
POST
Match a said or read answer to a planning question

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Body

application/json
programs
object[]
required

Pinned program versions. Each reads only the paths its own contract declares.

Required array length: 1 - 10 elements
path
string
required

The card’s path, such as Policy.drivers[0].occupation.

Maximum string length: 500
Pattern: ^[A-Za-z_][A-Za-z0-9_]*(\[\d+\])*(\.[A-Za-z_][A-Za-z0-9_]*(\[\d+\])*)*$
value
any | null

The answer as said or read: text, or a value.

answers
object

Every answer so far. Send it when the card’s answers depend on earlier ones, such as a car model on its make.

Response

The matched value, the candidates, or none.

exact
any | null

The stored value to answer with.