Agents
Get Agent Sample Record
Changed onPull the latest record from the topic that matches topicPattern.
Useful as a concrete sample record for POST /agents/test-run. Returns 200 in every "no record" case (regex matches no topic, every matched topic is empty, deserialization fails), with the reason in the response body rather than an HTTP error.
Requires read:agents.
Per-tenant rate limit: 30 req/min -> 429 with Retry-After.
post/agents/sample-record
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info