Skip to content

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

KlaviyoKlaviyoDevelopers
v2026-07-15

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

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Secret IDs for Agent Tool

GEThttps://a.klaviyo.com/api/agent-tools/{id}/relationships/agent-secrets

List Agent Secrets referenced by an Agent Tool.

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

Path parameters

  • id#stringrequired

Query parameters

  • page[size]#integer

    Default: 50. Min: 1. Max: 100.

  • page[cursor]#string

    Page cursor

Headers

  • revision#stringrequired

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

    2026-07-15.pre

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • agent-secret
    • id#stringrequired

      Agent Secret identifier.

      Example: sec_abc123

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