Skip to main content
GET
Get a conversation

Authorizations

X-API-Key
string
header
required

Path Parameters

conversationId
string<uuid>
required

The ID of the agent conversation, from its id.

Example:

"3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"

Query Parameters

wait_seconds
integer
default:0

How long to hold the request open for the conversation to stop working, from 0 to 60 seconds. The call returns as soon as the conversation is no longer working, or with the conversation as it stands when the wait ends. With 0, the default, it returns at once.

Required range: 0 <= x <= 60
Example:

30

Response

The conversation as it stands. While its state is working, read it again after Retry-After seconds.

A conversation with the Specter Agent and its latest turn.

id
string<uuid>
required

The conversation's ID. Pass it to the other conversation endpoints.

Example:

"3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"

state
enum<string>
required

working while the latest turn is queued or running. input_required while it waits for you. idle once it has completed, failed or been cancelled: a conversation never reads as failed, and is ready for another message.

Available options:
working,
input_required,
idle
Example:

"idle"

turn
Turn · object
required

The conversation's latest turn. Read an earlier one with Get a turn.

web_url
string
required

A link to the conversation in the Specter web app. It opens for anyone who can see the conversation there.

Example:

"https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"

created_at
string<date-time>
required

When the conversation started.

Example:

"2026-12-01T09:30:00Z"

updated_at
string<date-time>
required

When the conversation last changed.

Example:

"2026-12-01T09:30:48Z"