What a key can call
Seven queries, all reads. See operations. Every other operation answersAPI keys cannot do this. That includes every mutation.
Conventions
- Dates are ISO 8601 strings in UTC.
startDateandendDateare required where they appear. A range can be at most 731 days. - Pages start at 0.
pageSizeis at most 100, or 25 when messages are included. - IDs. Agent IDs are UUIDs. Conversation IDs are strings.
- Roles in messages.
USERis the visitor.ASSISTANTis the agent. - Visitor conversations only. A key reads the public chat. It never gets the internal staff chat, and the
internalFilterargument has no effect for a key. - Introspection is off. This reference is the list of what a key can call.
Fields a key gets empty
ipAddress, userAgent, model, token counts and cost come back null. visitorId comes back as an empty string. The agent’s prompt, tools and keys come back null. See security and privacy.
