Sessions

Changes to Get a session

get/api/v0/sessions/{sessionId}
    • info

      added the new optional query request parameter includePinned

    • info

      added the optional property pinned to the response with the status

    • info

      added the new optional header request parameter X-Factory-Org-Id

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property code to the response with the status

    • info

      added the optional property code to the response with the status

    • info

      added the optional property code to the response with the status

    • info

      added the optional property code to the response with the status

    • info

      added the optional property code to the response with the status

    • info

      added the optional property displayToUser to the response with the status

    • info

      added the optional property displayToUser to the response with the status

    • info

      added the optional property displayToUser to the response with the status

    • info

      added the optional property displayToUser to the response with the status

    • info

      added the optional property displayToUser to the response with the status

    • info

      added the optional property error to the response with the status

    • info

      added the optional property error to the response with the status

    • info

      added the optional property error to the response with the status

    • info

      added the optional property error to the response with the status

    • info

      added the optional property error to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property tags to the response with the status

    • warning

      added the new connector enum value to the artifacts/items/provider response property for the response status

    • warning

      added the new file enum value to the artifacts/items/kind response property for the response status

    • warning

      added the new local enum value to the artifacts/items/provider response property for the response status

    • warning

      added the new record enum value to the artifacts/items/kind response property for the response status

    • info

      added the optional property artifacts/items/connector to the response with the status

    • info

      added the optional property artifacts/items/fileRole to the response with the status

    • breaking

      the artifacts/items/externalId response property's maxLength was unset from 128 for the response status

    • breaking

      the artifacts/items/id response property's maxLength was unset from 2048 for the response status

    • breaking

      the artifacts/items/title response property's maxLength was unset from 500 for the response status

    • breaking

      the artifacts/items/url response property's maxLength was unset from 2048 for the response status

    • breaking

      the artifacts/items/id response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the artifacts/items/createdAt response's property format changed from date-time to no format for status

    • breaking

      the artifacts/items/url response's property format changed from uri to no format for status

    • info

      removed the direct_and_script enum value from the sessionSettings/toolExecutionMode response property for the response status

    • warning

      added the new link enum value to the artifacts/items/kind response property for the response status

    • warning

      added the new user_message enum value to the artifacts/items/source response property for the response status

    • warning

      added the new web enum value to the artifacts/items/provider response property for the response status

    • breaking

      the sessionSettings/compactionModel response's property type changed from no type to string for status

    • info

      removed subschema #1 subschema #2 subschema #3 from the sessionSettings/compactionModel response property anyOf list for the response status

    • info

      removed the voyage enum value from the sessionSettings/providerLock response property for the response status

    • warning

      added the new close enum value to the artifacts/items/action response property for the response status

    • warning

      added the new gpt-6.1-sol enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new merge enum value to the artifacts/items/action response property for the response status

    • warning

      added the new view enum value to the artifacts/items/action response property for the response status

    • warning

      added the new databricks enum value to the sessionSettings/apiProviderLock response property for the response status

    • warning

      added the new claude-sonnet-5-5 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-5.6-luna-flex enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-5.6-terra-flex enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-6-astra-flex enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-6-luna-flex enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-6-sol-flex enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      added the optional property artifacts to the response with the status

    • warning

      added the new gpt-6-luna enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-6-sol enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-image-2.5-flare enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-image-2.5-sunburst enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new claude-opus-5-5 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new claude-opus-5-5-fast enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new grok-4.7 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new mistral-medium-3.5 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new together enum value to the sessionSettings/apiProviderLock response property for the response status

    • warning

      added the new azure_anthropic enum value to the sessionSettings/apiProviderLock response property for the response status

    • warning

      added the new deepseek-v4.1-flash enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      added the optional property parent_session_id to the response with the status

    • warning

      added the new qwen3.8-max enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      removed the optional property sessionSettings/runInWorktree from the response with the status

    • warning

      added the new gpt-6-astra enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gemini-3.8-flash enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new claude-fable-5.1 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new glm-5.3 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the agate-07-11 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the almond-05-27 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the amber-07-09 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the anise-06-16 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the aspen-05-15 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the gantry-05-07 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the ocelot-06-01 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the okappa-alpha enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the olive-05-22 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the olm-03-05 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the omaffa-alpha enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the orbit-04-09 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the oriel-06-01 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the owl-06-21 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the oxbow-06-01 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the oxide-06-01 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      removed the titan-02-12 enum value from the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new glm-5.3-flash enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      removed the optional property sessionSettings/assistantActiveTimeMs from the response with the status

    • warning

      removed the optional property sessionSettings/childInclusiveTokenUsageBySessionId from the response with the status

    • warning

      removed the optional property sessionSettings/inclusiveTokenUsage from the response with the status

    • warning

      removed the optional property sessionSettings/lastCallTokenUsage from the response with the status

    • warning

      removed the optional property sessionSettings/tokenUsage from the response with the status

    • info

      added the optional property factoryCredits to the response with the status

    • info

      added the optional property sessionSettings/worktree/parentWorktreePath to the response with the status

    • warning

      added the new gemini-3.7-flash enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-transcribe enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      added the optional property sessionSettings/worktree to the response with the status

    • warning

      added the new grok-4.6 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-5.4-mini-fast enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      added the optional property sessionSettings/allowSubagentsInScripts to the response with the status

    • info

      added the optional property sessionSettings/toolExecutionMode to the response with the status

    • warning

      added the new mistral enum value to the sessionSettings/apiProviderLock response property for the response status

    • warning

      added the new deepseek-v4-flash-0731 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gemini-3-pro-image-preview enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-image-2 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new inkling enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gpt-5.6-sol-fast enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new agate-07-11 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new aster-07-15 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new atlas-07-21 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new claude-opus-5 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new claude-opus-5-fast enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new garnet-07-15 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new gemini-3.6-flash enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • warning

      added the new kimi-k3 enum value to the sessionSettings/compactionModel/anyOf[subschema #2] response property for the response status

    • info

      added the optional property sessionSettings/lastCallTokenUsage to the response with the status

    • info

      added the optional property sessionSettings/restrictToolIds to the response with the status

    • info

      endpoint added