Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/get_customer_agent_training_runs_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/get_customer_agent_training_runs_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-10-15

This endpoint is in beta. Call it with the revision header 2026-10-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

Get Customer Agent Training Runs

GEThttps://a.klaviyo.com/api/customer-agent-training-runs

Get the current training status for your Customer Agent.

If training has never started, the response contains one item with status: not_started. After starting training, poll this endpoint until status is succeeded or failed. Use status, rather than stage, to determine when training has finished.

Revision header
revision: 2026-10-15.prerequired
Scopes
agents:read
Rate limits
Burst: 10/sSteady: 150/m

Query parameters

  • fields[customer-agent-training-run]#string[]

    For more information please visit API overview

    Allowed values:
    • error
    • id
    • source
    • stage
    • started_at
    • status

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-10-15.pre

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • customer-agent-training-run
    • id#stringrequired

      The account's ID.

      Example: AbC123

    • attributes#objectrequired
      Show 5 fields
      • status#stringrequired

        Training lifecycle status. Stop polling only when this is succeeded or failed, regardless of stage. Accounts that have never trained return not_started.

        Allowed values:
        • not_started
        • pending
        • running
        • succeeded
        • failed
      • stage#stringnullable

        Current pipeline step. May be null during training; never use it to stop polling.

        Allowed values:
        • selecting_source
        • importing_conversations
        • clustering_conversations
        • preparing_scenario_inputs
        • generating_scenarios
        • running_simulations
        • complete
      • source#stringnullable

        Selected training corpus: customer_agent, third_party_helpdesk, or canonical. Null until selected.

        Allowed values:
        • customer_agent
        • third_party_helpdesk
        • canonical
      • error#stringnullable

        Customer-safe explanation when training did not finish, otherwise null.

      • started_at#string<date-time>nullable

        When the most recent training was requested. Null before the first run.

        Example: 2022-11-08T00:00:00+00:00

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string