Skip to main content
GET
Returns one agent. An agent is a legal AI specialist set up for a kind of legal work. The fields match the items List agents returns. Use the id to ask the agent a question with Create question, or to filter List sessions.

Authentication

Requires an API key, or an OAuth token with agents:read.

Path parameters

string
required
The agent id, from List agents, or "default" for the general Wordsmith agent.

Response

Returns 200 with the agent.
string
required
The agent id.
string
required
The agent’s display name.
string
What the agent is set up to do.
object
The person who created the agent. null for global and repository agents, which record no creator, and when the user no longer exists in your organisation. A creator who has since been removed from the organisation is still returned.
array
People who hold the Owner role on the agent: they can edit, share and delete it. The creator holds it from the start, and an owner can grant it to others. Lists only active members of your organisation. Empty for global and repository agents.
array
Teams that hold the Owner role on the agent. Empty when no team does.
string
When the agent was created, as an ISO 8601 UTC timestamp such as 2026-03-22T17:00:00Z.
string
Opens the agent in Wordsmith. null for a workspace-only agent, which has no agent page.

Errors