Skip to main content

apiKeyContext

What the key is and can read. Takes no arguments.

searchConversations

Conversations where any phrase appears in a message, newest first.
Matching is by the words as written, ignoring case. % and _ are ordinary characters. Only message text is searched, not tool calls. Each conversation carries up to five excerpts. truncated is true when more conversations matched than were returned.

conversationsPaginated

A page of an agent’s conversations, newest first.
Ask for responses only with includeMessages: true. Without it the query fails. A conversation with status: ARCHIVED is older than 60 days. Its messages are gone and responses is empty.

conversation

One conversation with its messages, oldest first. Answers null for a conversation the key cannot read.

Message parts

parts is a JSON array. The parts that matter: Other types, such as step-start and reasoning, can be ignored.

toolCalls

The calls an agent made to its tools, newest first.

conversationStats

Totals and daily counts for an agent. These are kept after messages are deleted.

linkClicks

Links visitors clicked in the agent’s answers, newest first.

Linking to a conversation

https://www.taskadmin.ai/c/<conversationId> opens a conversation in the dashboard for anyone in your organization who is signed in.