Sends a follow-up question on an existing session. Traversal uses the
full conversation history as context.
The session must be in the idle status. If it is running or
follow_up_running, the API returns 409 Conflict with retry_after.
Poll GET /v1/sessions/{session_id} until the session status returns
to idle to retrieve the assistant response.
Follow-ups count toward the same 15 concurrent running sessions
per-organization limit as POST /v1/sessions. If the organization is
already at the limit, the request returns 429 Too Many Requests with
retry_after.
POST
/
v1
/
sessions
/
{session_id}
/
messages
Send a follow-up message
curl --request POST \
--url https://api.traversal.com/v1/sessions/{session_id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": "Can you check if the database connection pool was exhausted during the incident?"
}
'
import requests
url = "https://api.traversal.com/v1/sessions/{session_id}/messages"
payload = { "input": "Can you check if the database connection pool was exhausted during the incident?" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: 'Can you check if the database connection pool was exhausted during the incident?'
})
};
fetch('https://api.traversal.com/v1/sessions/{session_id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.traversal.com/v1/sessions/{session_id}/messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'input' => 'Can you check if the database connection pool was exhausted during the incident?'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.traversal.com/v1/sessions/{session_id}/messages"
payload := strings.NewReader("{\n \"input\": \"Can you check if the database connection pool was exhausted during the incident?\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.traversal.com/v1/sessions/{session_id}/messages")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"Can you check if the database connection pool was exhausted during the incident?\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.traversal.com/v1/sessions/{session_id}/messages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"Can you check if the database connection pool was exhausted during the incident?\"\n}"
response = http.request(request)
puts response.read_body
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "running",
"input": "Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%.",
"created_at": "2024-03-15T14:35:00Z",
"user_message_id": "msg-003-uuid",
"assistant_message_id": "msg-004-uuid",
"title": "Elevated error rate in checkout service",
"updated_at": "2024-03-15T14:38:12Z",
"messages": [
{
"id": "msg-001-uuid",
"role": "user",
"markdown_content": "## Investigation Summary\n\nI investigated the elevated error rate...",
"created_at": "2024-03-15T14:38:12Z"
}
]
}
Bearer token in the Authorization header — for example,
Authorization: Bearer YOUR_API_KEY. Personal keys act as their owner;
the Sessions API also accepts organization-owned service-account keys.
Knowledge Files endpoints currently require a personal key.
ID of the assistant message that will contain the response.
Poll GET /v1/sessions/{session_id} until the session status
is idle to retrieve the completed response.
Conversation history. Only populated on GET /v1/sessions/{session_id}.
Show child attributes
⌘I
Send a follow-up message
curl --request POST \
--url https://api.traversal.com/v1/sessions/{session_id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": "Can you check if the database connection pool was exhausted during the incident?"
}
'
import requests
url = "https://api.traversal.com/v1/sessions/{session_id}/messages"
payload = { "input": "Can you check if the database connection pool was exhausted during the incident?" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: 'Can you check if the database connection pool was exhausted during the incident?'
})
};
fetch('https://api.traversal.com/v1/sessions/{session_id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.traversal.com/v1/sessions/{session_id}/messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'input' => 'Can you check if the database connection pool was exhausted during the incident?'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.traversal.com/v1/sessions/{session_id}/messages"
payload := strings.NewReader("{\n \"input\": \"Can you check if the database connection pool was exhausted during the incident?\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.traversal.com/v1/sessions/{session_id}/messages")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"Can you check if the database connection pool was exhausted during the incident?\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.traversal.com/v1/sessions/{session_id}/messages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"Can you check if the database connection pool was exhausted during the incident?\"\n}"
response = http.request(request)
puts response.read_body
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "running",
"input": "Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%.",
"created_at": "2024-03-15T14:35:00Z",
"user_message_id": "msg-003-uuid",
"assistant_message_id": "msg-004-uuid",
"title": "Elevated error rate in checkout service",
"updated_at": "2024-03-15T14:38:12Z",
"messages": [
{
"id": "msg-001-uuid",
"role": "user",
"markdown_content": "## Investigation Summary\n\nI investigated the elevated error rate...",
"created_at": "2024-03-15T14:38:12Z"
}
]
}
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Traversal","colors":{"primary":"#44843c"},"logo":{"light":"https://media.brand.dev/000e3110-8d04-4981-833c-f6f4b7dfa5b5.svg","dark":"https://media.brand.dev/000e3110-8d04-4981-833c-f6f4b7dfa5b5.svg"},"favicon":"https://mintcdn.com/traversal-ff380fca/65z0STiLQqkhH4OJ/favicon.ico?fit=max\u0026auto=format\u0026n=65z0STiLQqkhH4OJ\u0026q=85\u0026s=897c6a48598f72988d006bc2516fb6d3","navbar":{"primary":{"type":"button","label":"Login","href":"https://app.traversal.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/traversal-ai","x":"https://x.com/traversal_ai","github":"https://github.com/InteractionLabs"}},"variables":{"MCP_ENDPOINT":"https://api.prod.traversal.com/mcp/"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"traversal-ff380fca","hasAudioNarration":false,"actualSubdomain":"traversal-ff380fca","customDomains":["docs.traversal.com"],"gitSource":{"type":"github","owner":"interactionlabs","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aea78595fe76cf23c792e86","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Set up","count":43},{"language":"default","tag":"Telemetry","count":19},{"language":"default","tag":"API","count":16},{"language":"default","tag":"Using Traversal","count":16},{"language":"default","tag":"Endpoints","count":11},{"language":"default","tag":"Productivity","count":10},{"language":"default","tag":"Developer tools","count":6},{"language":"default","tag":"Workers","count":5},{"language":"default","tag":"Knowledge Files","count":5},{"language":"default","tag":"Sessions","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html[data-current-path=\"/changelog\"] #content-area{max-width:60rem;margin-inline:auto}"}],"page":{"pagePath":"api-reference/sessions/send-a-follow-up-message","slug":"/api-reference/sessions/send-a-follow-up-message","pageMetadata":{"title":"Send a follow-up message","description":"Sends a follow-up question on an existing session. Traversal uses the\nfull conversation history as context.\n\nThe session must be in the `idle` status. If it is `running` or\n`follow_up_running`, the API returns `409 Conflict` with `retry_after`.\nPoll `GET /v1/sessions/{session_id}` until the session status returns\nto `idle` to retrieve the assistant response.\n\nFollow-ups count toward the same **15 concurrent running sessions**\nper-organization limit as `POST /v1/sessions`. If the organization is\nalready at the limit, the request returns `429 Too Many Requests` with\n`retry_after`.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /v1/sessions/{session_id}/messages","href":"/api-reference/sessions/send-a-follow-up-message","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Sends a follow-up question on an existing session. Traversal uses the\\nfull conversation history as context.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The session must be in the \", _jsx(_components.code, {\n children: \"idle\"\n }), \" status. If it is \", _jsx(_components.code, {\n children: \"running\"\n }), \" or\\n\", _jsx(_components.code, {\n children: \"follow_up_running\"\n }), \", the API returns \", _jsx(_components.code, {\n children: \"409 Conflict\"\n }), \" with \", _jsx(_components.code, {\n children: \"retry_after\"\n }), \".\\nPoll \", _jsx(_components.code, {\n children: \"GET /v1/sessions/{session_id}\"\n }), \" until the session status returns\\nto \", _jsx(_components.code, {\n children: \"idle\"\n }), \" to retrieve the assistant response.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Follow-ups count toward the same \", _jsx(_components.strong, {\n children: \"15 concurrent running sessions\"\n }), \"\\nper-organization limit as \", _jsx(_components.code, {\n children: \"POST /v1/sessions\"\n }), \". If the organization is\\nalready at the limit, the request returns \", _jsx(_components.code, {\n children: \"429 Too Many Requests\"\n }), \" with\\n\", _jsx(_components.code, {\n children: \"retry_after\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send a follow-up message","description":"Sends a follow-up question on an existing session. Traversal uses the\nfull conversation history as context.\n\nThe session must be in the `idle` status. If it is `running` or\n`follow_up_running`, the API returns `409 Conflict` with `retry_after`.\nPoll `GET /v1/sessions/{session_id}` until the session status returns\nto `idle` to retrieve the assistant response.\n\nFollow-ups count toward the same **15 concurrent running sessions**\nper-organization limit as `POST /v1/sessions`. If the organization is\nalready at the limit, the request returns `429 Too Many Requests` with\n`retry_after`.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /v1/sessions/{session_id}/messages","href":"/api-reference/sessions/send-a-follow-up-message","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sendFollowUpMessage","tags":["Sessions"],"summary":"Send a follow-up message","description":"Sends a follow-up question on an existing session. Traversal uses the\nfull conversation history as context.\n\nThe session must be in the `idle` status. If it is `running` or\n`follow_up_running`, the API returns `409 Conflict` with `retry_after`.\nPoll `GET /v1/sessions/{session_id}` until the session status returns\nto `idle` to retrieve the assistant response.\n\nFollow-ups count toward the same **15 concurrent running sessions**\nper-organization limit as `POST /v1/sessions`. If the organization is\nalready at the limit, the request returns `429 Too Many Requests` with\n`retry_after`.\n","parameters":["08fcd514-a02e-4591-bae5-155295a740c2"],"requestBody":"cf6d075b-b2cf-444e-b662-0ed7d4b3fe17","responses":{"202":"2dc5e9fe-158c-4e8b-9380-c47502716b23","400":"b6f1011c-a1ee-4596-a274-28d430302c5d","401":"5c7e864f-47f5-4ae2-892f-fe50173098fd","403":"a78b18b0-8145-4fc7-8ad8-2d4dd8771acb","404":"7f924515-57f2-451d-be7f-4bdb1fb4dadc","405":"7b7a0de0-00c8-4e69-a17b-4284329a2798","409":"82dccf59-0e1e-4fb5-98b4-7cfc1446d732","429":"f2e96b89-2bcd-4a84-a25c-3a01c4dc1370","500":"4acb3f81-515e-4a47-bca9-a6dcb04b6a94","503":"79e751bb-fd94-453d-8ac7-4036c2c67b7e"},"method":"post","type":"path","servers":["33449553-a126-4964-a2f1-51491e2f6b2c"],"security":["d47e2342-cc96-49ff-87cd-223e04ede003"],"path":"/v1/sessions/{session_id}/messages","baseUrlOptions":["https://api.traversal.com"],"title":"Send a follow-up message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"08fcd514-a02e-4591-bae5-155295a740c2":{"name":"session_id","in":"path","required":true,"description":"The unique identifier of the session.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The unique identifier of the session.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"The follow-up question or instruction.","isRequired":true,"uniqueKey":"input","typeLabel":"string"},"thinking_mode":{"type":"string","enum":["auto","deep","fast"],"default":"auto","description":"Controls how much investigation depth Traversal applies.\n- `auto` — Traversal classifies the request and picks a depth.\n- `deep` — force a thorough root-cause analysis.\n- `fast` — run a quick, exploratory pass.\n","uniqueKey":"thinking_mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"input":"Can you check if the database connection pool was exhausted during the incident?"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"2dc5e9fe-158c-4e8b-9380-c47502716b23":{"description":"Follow-up accepted; investigation is running.","content":{"application/json":{"schema":{"type":"object","required":["user_message_id","assistant_message_id","id","status","input","created_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Unique session identifier.","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["running","idle","follow_up_running","failed","cancelled"],"description":"- `running` — a new investigation is in progress.\n- `idle` — investigation is complete and ready for follow-ups.\n- `follow_up_running` — a follow-up message is being processed.\n- `failed` — the investigation or follow-up errored or timed out.\n- `cancelled` — the investigation was cancelled.\n","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"input":{"type":"string","description":"The original incident description or question.","example":"Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%.","isRequired":true,"uniqueKey":"input","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"When the session was created (UTC).","example":"2024-03-15T14:35:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"user_message_id":{"type":"string","description":"ID of the recorded user message.","example":"msg-003-uuid","isRequired":true,"uniqueKey":"user_message_id","typeLabel":"string"},"assistant_message_id":{"type":"string","description":"ID of the assistant message that will contain the response.\nPoll `GET /v1/sessions/{session_id}` until the session status\nis `idle` to retrieve the completed response.\n","example":"msg-004-uuid","isRequired":true,"uniqueKey":"assistant_message_id","typeLabel":"string"},"title":{"oneOf":[{"type":"string","description":"Human-readable session title.","example":"Elevated error rate in checkout service","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable session title.","example":"Elevated error rate in checkout service","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the session was last updated (UTC).","example":"2024-03-15T14:38:12Z","uniqueKey":"updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the session was last updated (UTC).","example":"2024-03-15T14:38:12Z","uniqueKey":"updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time> | null"},"messages":{"oneOf":[{"type":"array","description":"Conversation history. Only populated on `GET /v1/sessions/{session_id}`.","items":{"type":"object","required":["id","role","markdown_content","created_at"],"properties":{"id":{"type":"string","description":"Unique message identifier.","example":"msg-001-uuid","isRequired":true,"uniqueKey":"messages.oneOf.0.items.[INDEX].id","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"The author of the message.","isRequired":true,"uniqueKey":"messages.oneOf.0.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"markdown_content":{"type":"string","description":"Message content in Markdown.","example":"## Investigation Summary\n\nI investigated the elevated error rate...","isRequired":true,"uniqueKey":"messages.oneOf.0.items.[INDEX].markdown_content","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"When the message was created (UTC).","example":"2024-03-15T14:38:12Z","isRequired":true,"uniqueKey":"messages.oneOf.0.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"messages.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"messages.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Conversation history. Only populated on `GET /v1/sessions/{session_id}`.","items":{"type":"object","required":["id","role","markdown_content","created_at"],"properties":{"id":{"type":"string","description":"Unique message identifier.","example":"msg-001-uuid"},"role":{"type":"string","enum":["user","assistant"],"description":"The author of the message."},"markdown_content":{"type":"string","description":"Message content in Markdown.","example":"## Investigation Summary\n\nI investigated the elevated error rate..."},"created_at":{"type":"string","format":"date-time","description":"When the message was created (UTC).","example":"2024-03-15T14:38:12Z"}}},"uniqueKey":"messages.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","status":"running","input":"Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%.","created_at":"2024-03-15T14:35:00Z","user_message_id":"msg-003-uuid","assistant_message_id":"msg-004-uuid","title":"Elevated error rate in checkout service","updated_at":"2024-03-15T14:38:12Z","messages":[{"id":"msg-001-uuid","role":"user","markdown_content":"## Investigation Summary\n\nI investigated the elevated error rate...","created_at":"2024-03-15T14:38:12Z"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"b6f1011c-a1ee-4596-a274-28d430302c5d":{"description":"An invalid body, path, query parameter, or header value. The `message` identifies the failed validation.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"5c7e864f-47f5-4ae2-892f-fe50173098fd":{"description":"Missing, invalid, or revoked API key.","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"Authentication challenge (`Bearer`)."}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"a78b18b0-8145-4fc7-8ad8-2d4dd8771acb":{"description":"Insufficient role, ownership, permission, or endpoint-specific access.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"7f924515-57f2-451d-be7f-4bdb1fb4dadc":{"description":"The requested resource does not exist or is not visible to the authenticated organization.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"7b7a0de0-00c8-4e69-a17b-4284329a2798":{"description":"The path exists but does not support the requested HTTP method. Uses the `invalid_argument` error code.","headers":{"Allow":{"schema":{"type":"string"},"description":"Comma-separated HTTP methods supported by the path."}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"82dccf59-0e1e-4fb5-98b4-7cfc1446d732":{"description":"The request conflicts with the current resource state.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"f2e96b89-2bcd-4a84-a25c-3a01c4dc1370":{"description":"Rate limit exceeded. Wait `retry_after` seconds (also surfaced as the standard `Retry-After` header) and retry. The exact limit depends on the endpoint — see the per-endpoint description.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Suggested seconds to wait before retrying."}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"4acb3f81-515e-4a47-bca9-a6dcb04b6a94":{"description":"An unexpected error occurred on the server.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"79e751bb-fd94-453d-8ac7-4036c2c67b7e":{"description":"API infrastructure is not available. Some responses include a recommended retry delay.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Suggested seconds to wait before retrying, when available."}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conflict","internal","invalid_argument","not_found","payload_too_large","permission_denied","precondition_failed","resource_exhausted","unauthenticated","unavailable","unsupported_media_type"],"description":"Stable machine-readable error category.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retry_after":{"type":"integer","description":"Optional suggested seconds to wait before retrying. Present\nonly when the server can recommend a delay, such as some `429`\nand `503` responses. When set, the response also includes a\nstandard `Retry-After` HTTP header with the same value.\n","uniqueKey":"error.retry_after","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"\u003cstring>","retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d47e2342-cc96-49ff-87cd-223e04ede003":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token in the `Authorization` header — for example,\n`Authorization: Bearer YOUR_API_KEY`. Personal keys act as their owner;\nthe Sessions API also accepts organization-owned service-account keys.\nKnowledge Files endpoints currently require a personal key.\n","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"33449553-a126-4964-a2f1-51491e2f6b2c":{"url":"https://api.traversal.com","description":"Traversal API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token in the `Authorization` header — for example,\n`Authorization: Bearer YOUR_API_KEY`. Personal keys act as their owner;\nthe Sessions API also accepts organization-owned service-account keys.\nKnowledge Files endpoints currently require a personal key.\n","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token in the `Authorization` header — for example,\n`Authorization: Bearer YOUR_API_KEY`. Personal keys act as their owner;\nthe Sessions API also accepts organization-owned service-account keys.\nKnowledge Files endpoints currently require a personal key.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api/openapi.yaml"},"subdomain":"traversal-ff380fca","siteName":"Traversal","title":"Send a follow-up message - Traversal","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T21:22:09.902Z","originalFileLocation":"api-reference/sessions/send-a-follow-up-message.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sends a follow-up question on an existing session. Traversal uses the full conversation history as context. The session must be in the idle status. If it is running or follow_up_running, the API returns 409 Conflict with retry_after. Poll GET /v1/sessions/{session_id} until the session status returns to idle to retrieve the assistant response. Follow-ups count toward the same 15 concurrent running sessions per-organization limit as POST /v1/sessions. If the organization is already at the limit, the request returns 429 Too Many Requests with retry_after.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Traversal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a follow-up message - Traversal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a follow-up question on an existing session. Traversal uses the full conversation history as context. The session must be in the idle status. If it is running or follow_up_running, the API returns 409 Conflict with retry_after. Poll GET /v1/sessions/{session_id} until the session status returns to idle to retrieve the assistant response. Follow-ups count toward the same 15 concurrent running sessions per-organization limit as POST /v1/sessions. If the organization is already at the limit, the request returns 429 Too Many Requests with retry_after.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Traversal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://traversal-ff380fca.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Send+a+follow-up+message\u0026amp;description=Sends+a+follow-up+question+on+an+existing+session.+Traversal+uses+the%0Afull+conversation+history+as+context.%0A%0AThe+session+must+be+in+the+%60idle%60+status.+If+it+is+\u0026amp;theme=bfd3e1d833a5796aafda2cdf\u0026amp;signature=dc2b4285d9902f603111fb704330d8e7be2e003ef64284746ac59a275a0db089\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send a follow-up message - Traversal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a follow-up question on an existing session. Traversal uses the full conversation history as context. The session must be in the idle status. If it is running or follow_up_running, the API returns 409 Conflict with retry_after. Poll GET /v1/sessions/{session_id} until the session status returns to idle to retrieve the assistant response. Follow-ups count toward the same 15 concurrent running sessions per-organization limit as POST /v1/sessions. If the organization is already at the limit, the request returns 429 Too Many Requests with retry_after.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://traversal-ff380fca.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Send+a+follow-up+message\u0026amp;description=Sends+a+follow-up+question+on+an+existing+session.+Traversal+uses+the%0Afull+conversation+history+as+context.%0A%0AThe+session+must+be+in+the+%60idle%60+status.+If+it+is+\u0026amp;theme=bfd3e1d833a5796aafda2cdf\u0026amp;signature=dc2b4285d9902f603111fb704330d8e7be2e003ef64284746ac59a275a0db089\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/traversal-ff380fca/jW9GH5x2M8aykX_o/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Traversal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#44843c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sessions/send-a-follow-up-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.traversal.com/#organization\",\"name\":\"Traversal\",\"url\":\"https://docs.traversal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://media.brand.dev/000e3110-8d04-4981-833c-f6f4b7dfa5b5.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.traversal.com#website\",\"name\":\"Traversal\",\"url\":\"https://docs.traversal.com\",\"publisher\":{\"@id\":\"https://docs.traversal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message#webpage\",\"url\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message\",\"name\":\"Send a follow-up message\",\"description\":\"Sends a follow-up question on an existing session. Traversal uses the full conversation history as context. The session must be in the idle status. If it is running or follow_up_running, the API returns 409 Conflict with retry_after. Poll GET /v1/sessions/{session_id} until the session status returns to idle to retrieve the assistant response. Follow-ups count toward the same 15 concurrent running sessions per-organization limit as POST /v1/sessions. If the organization is already at the limit, the request returns 429 Too Many Requests with retry_after.\",\"dateModified\":\"2026-10-24T21:22:09.902Z\",\"isPartOf\":{\"@id\":\"https://docs.traversal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://docs.traversal.com/api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Endpoints\",\"item\":\"https://docs.traversal.com/api-reference/sessions/list-sessions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Sessions\",\"item\":\"https://docs.traversal.com/api-reference/sessions/list-sessions\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Send a follow-up message\",\"item\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message#apireference\",\"headline\":\"Send a follow-up message\",\"name\":\"Send a follow-up message\",\"description\":\"Sends a follow-up question on an existing session. Traversal uses the full conversation history as context. The session must be in the idle status. If it is running or follow_up_running, the API returns 409 Conflict with retry_after. Poll GET /v1/sessions/{session_id} until the session status returns to idle to retrieve the assistant response. Follow-ups count toward the same 15 concurrent running sessions per-organization limit as POST /v1/sessions. If the organization is already at the limit, the request returns 429 Too Many Requests with retry_after.\",\"url\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.traversal.com/api-reference/sessions/send-a-follow-up-message#webpage\"},\"dateModified\":\"2026-10-24T21:22:09.902Z\",\"publisher\":{\"@id\":\"https://docs.traversal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.traversal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Traversal\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Traversal","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"About Traversal","href":"/introduction"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Authentication","href":"/get-started/authentication"},{"title":"Integrations","href":"/get-started/integrations"}]},{"group":"Architecture","pages":[{"title":"Deployment options","href":"/architecture/intro"},{"title":"Traversal Connector","href":"/architecture/connector"},{"title":"Single-tenant SaaS","href":"/architecture/single-tenant-saas"},{"title":"Bring Your Own Cloud","href":"/architecture/byoc"}]},{"group":"Set up","pages":[{"title":"Service accounts","href":"/setup/service-accounts"},{"group":"Traversal Connector","pages":[{"title":"Traversal Connector","href":"/setup/connector"},{"title":"Troubleshooting the Traversal Connector","sidebarTitle":"Troubleshooting","href":"/setup/connector-troubleshooting"}]},{"group":"Traversal Processor","pages":[{"title":"Traversal Processor","href":"/setup/processor"},{"title":"Troubleshooting the Traversal Processor","sidebarTitle":"Troubleshooting","href":"/setup/processor-troubleshooting"}]},{"title":"Redaction","href":"/setup/redaction"},{"title":"PrivateLink","href":"/setup/privatelink"},{"group":"Telemetry","pages":[{"title":"Alertmanager","href":"/integrations/alertmanager"},{"title":"AppDynamics","href":"/integrations/appdynamics"},{"title":"Azure","href":"/integrations/azure-monitor"},{"title":"CloudWatch","href":"/integrations/cloudwatch"},{"title":"Coralogix","href":"/integrations/coralogix"},{"title":"Datadog","href":"/integrations/datadog"},{"title":"Dynatrace","href":"/integrations/dynatrace"},{"title":"Elasticsearch","href":"/integrations/elasticsearch"},{"title":"Grafana","href":"/integrations/grafana"},{"title":"Kubernetes","href":"/integrations/kubernetes"},{"title":"Loki","href":"/integrations/loki"},{"title":"Mimir","href":"/integrations/mimir"},{"title":"OpenSearch","href":"/integrations/opensearch"},{"title":"Prometheus","href":"/integrations/prometheus"},{"title":"Sentry","href":"/integrations/sentry"},{"title":"Splunk","href":"/integrations/splunk"},{"title":"Tempo","href":"/integrations/tempo"},{"title":"ThousandEyes","href":"/integrations/thousandeyes"},{"title":"VictoriaMetrics","href":"/integrations/victoria-metrics"}]},{"group":"Developer tools","pages":[{"title":"AWS Account","href":"/integrations/aws-cli"},{"title":"Azure","href":"/integrations/azure-resource-manager"},{"title":"Azure DevOps","href":"/integrations/azure-devops"},{"title":"GitHub","href":"/integrations/github"},{"title":"GitLab","href":"/integrations/gitlab"},{"title":"MotherDuck","href":"/integrations/motherduck"}]},{"group":"Productivity","pages":[{"title":"Confluence","href":"/integrations/confluence"},{"title":"FireHydrant","href":"/integrations/firehydrant"},{"title":"incident.io","href":"/integrations/incident-io"},{"title":"Jira","href":"/integrations/jira"},{"title":"Linear","href":"/integrations/linear"},{"title":"Microsoft Teams","href":"/integrations/microsoft-teams"},{"title":"Notion","href":"/integrations/notion"},{"title":"PagerDuty","href":"/integrations/pagerduty"},{"title":"ServiceNow","href":"/integrations/servicenow"},{"title":"Slack","href":"/integrations/slack"}]},{"group":"Custom integrations","pages":[{"title":"MCP Servers","href":"/integrations/mcp-servers"}]}]},{"group":"Using Traversal","pages":[{"title":"Investigations","href":"/using-traversal/investigations"},{"group":"Workers","pages":[{"title":"Workers","sidebarTitle":"Overview","href":"/using-traversal/workers"},{"title":"Workers console","href":"/using-traversal/workers-console"},{"title":"Worker features","href":"/using-traversal/worker-features"},{"title":"Incident Workers","href":"/using-traversal/incident-workers"},{"title":"Alert Workers","href":"/using-traversal/alert-workers"}]},{"group":"Traversal in your tools","pages":[{"title":"Slack","href":"/using-traversal/slack"},{"title":"Microsoft Teams","href":"/using-traversal/microsoft-teams"},{"title":"MCP","href":"/using-traversal/mcp"}]},{"title":"Knowledge Bank","href":"/using-traversal/knowledge-bank"},{"title":"Customization","href":"/using-traversal/customization"},{"title":"Usage limits","href":"/using-traversal/usage-limits"},{"title":"Post-mortems","href":"/using-traversal/post-mortems"},{"group":"Best practices","pages":[{"title":"Tips","href":"/using-traversal/best-practices"},{"title":"Understanding results","href":"/using-traversal/understanding-results"},{"title":"Prompt library","href":"/using-traversal/prompt-library"}]}]},{"group":"API","pages":[{"title":"Overview","href":"/api/overview"},{"title":"Authentication","href":"/api/authentication"},{"title":"Sessions API","href":"/api/sessions"},{"title":"Knowledge Files API","href":"/api/knowledge-files"},{"title":"Event Logs API","href":"/api/event-logs"},{"group":"Endpoints","pages":[{"group":"Sessions","pages":[{"title":"List sessions","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v1/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Create a session","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /v1/sessions","href":"/api-reference/sessions/create-a-session"},{"title":"Get a session","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v1/sessions/{session_id}","href":"/api-reference/sessions/get-a-session"},{"title":"Stream session status","description":"Opens a Server-Sent Events (SSE) stream for a session. The stream sends\na `status` event immediately after connecting and whenever the session\nstatus changes. Each event's `data` field contains a session snapshot\nwith `messages: null`.\n\nWhile the session remains `running` or `follow_up_running`, the server\nsends a `: keepalive` comment every 15 seconds when no status change\noccurs. SSE clients ignore comments automatically.\n\nThe stream closes after sending an `idle`, `failed`, or `cancelled`\nstatus. After receiving a terminal status, retrieve the final\nconversation with `GET /v1/sessions/{session_id}`.\n\nIf the connection closes before a terminal status arrives, reconnect\nto this endpoint. The first event always reports the current status, so\nclients do not need an event cursor or `Last-Event-ID` header.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v1/sessions/{session_id}/events","href":"/api-reference/sessions/stream-session-status"},{"title":"Send a follow-up message","deprecated":null,"version":null,"openapi":"/api/openapi.yaml post /v1/sessions/{session_id}/messages","href":"/api-reference/sessions/send-a-follow-up-message"}]},{"group":"Knowledge Files","pages":[{"title":"List knowledge files","description":"Lists customer-visible files under `user_generated/` and `skills/`,\nordered by path. Traversal-generated knowledge and memories are not\nexposed.\n","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v1/knowledge/files","href":"/api-reference/knowledge-files/list-knowledge-files"},{"title":"Get knowledge file metadata","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v1/knowledge/files/{file_path}","href":"/api-reference/knowledge-files/get-knowledge-file-metadata"},{"title":"Create or replace a knowledge file","deprecated":null,"version":null,"openapi":"/api/openapi.yaml put /v1/knowledge/files/{file_path}","href":"/api-reference/knowledge-files/create-or-replace-a-knowledge-file"},{"title":"Delete a knowledge file","deprecated":null,"version":null,"openapi":"/api/openapi.yaml delete /v1/knowledge/files/{file_path}","href":"/api-reference/knowledge-files/delete-a-knowledge-file"},{"title":"Download a knowledge file","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v1/knowledge/files/{file_path}/content","href":"/api-reference/knowledge-files/download-a-knowledge-file"}]},{"group":"Event Logs","pages":[{"title":"List event logs","deprecated":null,"version":null,"openapi":"/api/openapi.yaml get /v0/event-logs","href":"/api-reference/event-logs/list-event-logs"}]}]}]},{"group":"Security \u0026 Trust","pages":[{"title":"Security","href":"/responsible-use/security"},{"title":"Data privacy","href":"/responsible-use/data-privacy"}]},{"group":"Changelog","pages":[{"title":"Changelog","mode":"center","href":"/changelog"},{"title":"Processor Helm chart changelog","sidebarTitle":"Processor Helm chart","mode":"center","href":"/setup/processor-changelog"}]}]},"basePath":"","title":"Send a follow-up message - Traversal","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-Dr40SSJq.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}