Skip to main content
POST
Rerun Session Analysis
There is no request body. You can rerun an analysis that:
  • ended in error or skipped,
  • finished on a transcript that was still incomplete, or
  • is stuck: queued for more than 5 minutes, or running for more than 15 minutes.
Any other analysis, including one that completed on a full transcript, returns 409. A session whose content has been deleted under the data retention policy returns 410. A session with no analysis record returns 404. The rerun uses the analysis settings pinned when the session started, so changing the agent’s analysis settings afterwards doesn’t change what it produces. The call returns 201 with the analysis as it stands after it was queued: status is usually queued and the results are empty. The run finishes in the background, so poll Get Voice Agent Session and read its analysis for the outcome. When the rerun finishes, Fish sends the call.analyzed webhook again; see Webhooks. Each team can make 30 calls per minute to this endpoint. The 31st call within the same minute returns 429, and the count starts again in the next minute. For what the analysis contains, see Post-call analysis.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

Response

The rerun was queued. The body is the session's analysis as it stands right now: status is usually queued and the results are empty. Poll GET /v1/agent/sessions/{session_id} and read its analysis for the outcome.

The post-call analysis of the session.

status
enum<string>
required
Available options:
queued,
running,
completed,
skipped,
error
summary
string | null
data
AgentSessionAnalysisDataValue · object[]
criteria_results
AgentSessionAnalysisCriterionResult · object[]
error
string | null

error: why the analysis failed. Null for every other status.

transcript_incomplete
boolean
default:false

True when the transcript still looked cut short after the analysis waited for it, so the summary, data and criteria may rest on an incomplete conversation. Can be true for completed and skipped.

finished_at
string | null

When the analysis finished, as an RFC 3339 timestamp in UTC, for example 2026-07-20T06:05:07.250000Z. Null while it has not finished.