List the caller-defined metadata keys sessions carry
Returns the distinct caller-defined metadata keys across every session the caller may list, sorted, so a client can offer them as filter choices without knowing them in advance. Sessions the caller’s access policy hides contribute nothing. Capped at 200 keys; truncated reports when the cap was hit. Pair with managedAgentsListSessionMetadataValues, then filter managedAgentsListSessions with metadata or metadata_key.
Authorizations
A Recursion API key, created in the console under API keys.
Headers
Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.
1Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.
1Response
Response body of GET /managed-agents/v1/sessions/metadata-keys: the distinct caller-defined metadata keys across the sessions the caller may list.
Response body of GET /managed-agents/v1/sessions/metadata-keys: the distinct caller-defined metadata keys across the sessions the caller may list.
Distinct caller-defined metadata keys carried by sessions the caller may list, sorted. Always an array; empty when no listed session carries metadata.
True when the organization carries more distinct keys than the response holds. The list is sorted, so the missing keys sort after the last one returned.