Get v0 city by city name session by ID transcript

Changed on
get/v0/city/{cityName}/session/{id}/transcript

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

cityNamestring required

City name.

idstring required

Session ID, alias, or runtime session_name.

Query parameters

tailstring

Number of recent compaction segments to return. This API parameter keeps compaction-segment semantics even though gc session logs --tail counts displayed transcript entries. Omit for the endpoint default (usually 1); 0 returns all segments; N>0 returns the last N.

format'conversation' | 'raw' | 'structured'

Transcript format: conversation (default), raw, or structured.

include_thinkingboolean

Include thinking block text and signature in structured responses. Defaults to false; both are redacted otherwise.

beforestring

Pagination cursor: return entries before this stable transcript entry ID.

afterstring

Pagination cursor: return entries after this stable transcript entry ID.

Response

OK

OR
OR

Changes

    • ▲

      the query request parameter format was restricted to a list of enum values

    • ▲

      added to the response body oneOf list for the response status

    • ▲

      the response's body type changed from object to no type for status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ○

      added the new optional query request parameter include_thinking

    • ○

      added the new enum value conversation to the query request parameter format

    • ○

      added the new enum value raw to the query request parameter format

    • ○

      added the new enum value structured to the query request parameter format

    • ○

      added response discriminator for the response status