{"items":[{"type":"link","label":"Agent Intelligence","link":"/openapi/agent-intelligence/agent-intelligence.openapi","routeSlug":"/openapi/agent-intelligence/agent-intelligence.openapi","content":{"contentType":"overview","meta":{"name":"Agent Intelligence"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"agent-intelligence.openapi.json","url":"/_bundle/openapi/agent-intelligence/agent-intelligence.openapi.json?download"},{"kind":"download","label":"agent-intelligence.openapi.yaml","url":"/_bundle/openapi/agent-intelligence/agent-intelligence.openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"cURL","lang":"curl"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"go","title":"Go","lang":"Go"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"java","title":"Java","lang":"Java"},{"key":"python","title":"Python","lang":"Python"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api.sbx.transmitsecurity.io/risk/v1","description":"Sandbox environment"},{"url":"https://api.transmitsecurity.io/risk/v1","description":"US production environment"},{"url":"https://api.eu.transmitsecurity.io/risk/v1","description":"EU production environment"},{"url":"https://api.ca.transmitsecurity.io/risk/v1","description":"CA production environment"},{"url":"https://api.au.transmitsecurity.io/risk/v1","description":"AU production environment"},{"url":"https://api.gasne1-ts01.transmitsecurity.io/risk/v1","description":"JP production environment"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Agent Intelligence","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/agent-intelligence/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Agent Intelligence"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" helps you understand how AI agents operate inside your customer-facing application: which agents are active, which pages and flows they touch, and whether a human is also present in the session."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The Agent Intelligence API returns the current session for a browser. The response identifies who is acting, and includes the session context together with device and network risk signals. The endpoint returns data only. It does not allow, deny, or challenge the request."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For integration steps, see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/agent-intelligence/retrieve_session_data"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve session data"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/"}],"sectionId":"/"}]}]}},{"label":"Retrieve agent session","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/agent-intelligence/agent-intelligence.openapi/other/getagentintelligencesession","routeSlug":"/openapi/agent-intelligence/agent-intelligence.openapi/other/getagentintelligencesession","metadata":{"seo":{"title":"Retrieve agent session","description":"Returns who is behind the browser session (human, AI agent, or bot) as of this call, with the session context and the device and network risk signals. Pass the session_token the Platform SDK returns for the browser."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getAgentIntelligenceSession","name":"Retrieve agent session","isWebhook":false,"pointer":"/paths/~1agent-intelligence~1session/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve agent session","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns who is behind the browser session (human, AI agent, or bot) as of this call, with the session context and the device and network risk signals. Pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"session_token"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" the Platform SDK returns for the browser."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each call scores the session as of that moment, because the last action can be minutes old. The call reads the live session. It does not start or extend it. Optional request fields are saved on the session, so a later call that omits them still returns the latest value sent."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"risk_access_token","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An access token generated by the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/openapi/token.openapi/other/getaccesstoken"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"token endpoint"},"children":[],"type":"text"}],"type":"link"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"tenant_id","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Customer tenant ID. Provide it only when a platform application calls this endpoint on behalf of a customer. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"session_token"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must belong to that tenant. Ignored when the access token already belongs to the customer tenant."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1agent-intelligence~1session/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/session_request","exampleIds":["paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal","paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full"]}},"schemaId":"components/schemas/session_request","exampleIds":["paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal","paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full"],"pointer":"/paths/~1agent-intelligence~1session/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/agent-intelligence/session","servers":[{"url":"https://api.sbx.transmitsecurity.io/risk/v1","description":"Sandbox environment"},{"url":"https://api.transmitsecurity.io/risk/v1","description":"US production environment"},{"url":"https://api.eu.transmitsecurity.io/risk/v1","description":"EU production environment"},{"url":"https://api.ca.transmitsecurity.io/risk/v1","description":"CA production environment"},{"url":"https://api.au.transmitsecurity.io/risk/v1","description":"AU production environment"},{"url":"https://api.gasne1-ts01.transmitsecurity.io/risk/v1","description":"JP production environment"}],"parameters":{"path":[],"query":[{"name":"tenant_id","in":"query","required":false,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"risk_access_token","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/session_request","exampleIds":["paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal","paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full"]}},"responseCodes":["200","400","401","403","404","410","429","500","503"],"pointer":"/agent-intelligence/session","href":"other/getagentintelligencesession","openApiOperationId":"getAgentIntelligenceSession","summary":"Retrieve agent session"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.sbx.transmitsecurity.io/risk/v1","description":"Sandbox environment"},{"url":"https://api.transmitsecurity.io/risk/v1","description":"US production environment"},{"url":"https://api.eu.transmitsecurity.io/risk/v1","description":"EU production environment"},{"url":"https://api.ca.transmitsecurity.io/risk/v1","description":"CA production environment"},{"url":"https://api.au.transmitsecurity.io/risk/v1","description":"AU production environment"},{"url":"https://api.gasne1-ts01.transmitsecurity.io/risk/v1","description":"JP production environment"}],"schemaId":"components/schemas/session_request","exampleIds":["paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal","paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/session_request","exampleIds":["paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal","paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The session as of this call.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/session_response","exampleIds":["paths/~1agent-intelligence~1session/post/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/session_response","exampleIds":["paths/~1agent-intelligence~1session/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Bad request."},{"code":"401","description":"Invalid authentication. The access token is missing or invalid.\n"},{"code":"403","description":"Invalid authorization. The token belongs to another tenant.\n"},{"code":"404","description":"The endpoint is not enabled for the tenant, or the device has no current Agent Intelligence session. That includes no SDK activity yet, or a session that ended after its idle timeout. A new session starts with the next SDK activity. Treat this response as unknown. Do not treat it as a human session or as an allow.\n"},{"code":"410","description":"The Agent Intelligence session reached its maximum duration. A new session starts with the next SDK activity. Treat this response as unknown. Do not treat it as a human session or as an allow.\n"},{"code":"429","description":"Rate limit reached."},{"code":"500","description":"Internal error."},{"code":"503","description":"Session data or scoring is unavailable. Safe to retry. Treat this response as unknown. Do not treat it as a human session or as an allow.\n"}],"pointer":"/paths/~1agent-intelligence~1session/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/session_response","exampleIds":["paths/~1agent-intelligence~1session/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/session_response","exampleIds":["paths/~1agent-intelligence~1session/post/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"},{"code":"403"},{"code":"404"},{"code":"410"},{"code":"429"},{"code":"500"},{"code":"503"}],"examples":[]}]}]}]},"httpPath":"/agent-intelligence/session"}],"store":{"schemaStore":{"components/schemas/session_request":{"id":"components/schemas/session_request","kind":"json-schema","title":"session_request","data":{"type":"object","required":["session_token"],"properties":{"session_token":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Session token returned by the Platform SDK for this browser session. The SDK writes it to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ts_asc"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" cookie when session tokens are enabled. It identifies the device, and Mosaic maps it to that device's current Agent Intelligence session."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"a3c8f5ea75cb65fcdc3d0452b985f957a46e24afdc912e93dac1e115ecf408e5"},"action_type":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Action this request is for, such as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"transaction"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"transaction"},"correlation_id":{"type":"string","description":"Identifier that relates this request to your own context or session.","example":"order-8812"},"claimed_user_id":{"type":"string","description":"Identifier of a user who is not yet authenticated. Do not send an email address, phone number, or other personal data in plain text. Send a hash. The value is stored on the session and returned on later calls that omit it.\n","example":"7c4a8d09ca3762af61e59520943dc26494f8941b"},"claimed_user_id_type":{"$ref":"#/components/schemas/claimed_user_id_type"},"auth_context":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send when the user is already authenticated. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"user_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is required inside it. Stored on the session and returned on later calls that omit it."},"children":[],"type":"text"}],"type":"paragraph"}],"allOf":[{"$ref":"#/components/schemas/auth_context"}]}}}},"components/schemas/claimed_user_id_type":{"id":"components/schemas/claimed_user_id_type","kind":"json-schema","title":"claimed_user_id_type","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Type of value provided in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"claimed_user_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Set this when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"claimed_user_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is a hash, so the original data type is known."},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["email","phone_number","account_id","ssn","national_id","passport_number","drivers_license_number","other"],"example":"email"}},"components/schemas/auth_context":{"id":"components/schemas/auth_context","kind":"json-schema","title":"auth_context","data":{"type":"object","description":"Authentication context for a user who is already authenticated.","required":["user_id"],"properties":{"user_id":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Opaque identifier of the authenticated user. Required whenever "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"auth_context"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is provided."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"user-123"},"auth_method":{"type":"string","description":"Authentication method used for the authentication action.","enum":["password","passkeys","webauthn","totp","email_otp","sms_otp","direct_otp","voice_otp","push_otp","idv","email_magic_link","mobile_biometric","face","pin_authenticator","google","facebook","apple","line","saml","oidc"],"example":"password"},"failed_attempts":{"type":"number","description":"Number of failed attempts for the authentication action.","example":0}}}},"components/schemas/session_response":{"id":"components/schemas/session_response","kind":"json-schema","title":"session_response","data":{"type":"object","required":["id","issued_at","actor","context","risk_signals"],"properties":{"id":{"type":"string","description":"ID of this call.","example":"9b1f4c2e8a7d6b5c4e3f2a1b0c9d8e7f"},"issued_at":{"type":"number","description":"Time the data is current, as Unix epoch time in milliseconds.","example":1762160045000},"actor":{"description":"Who is behind the session.","allOf":[{"$ref":"#/components/schemas/actor"}]},"context":{"description":"Session and device context.","allOf":[{"$ref":"#/components/schemas/session_context"}]},"risk_signals":{"nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Device and network risk signals. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" only when the device has no event to score yet. Treat "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as unknown."},"children":[],"type":"text"}],"type":"paragraph"}],"allOf":[{"$ref":"#/components/schemas/risk_signals"}]}}}},"components/schemas/actor":{"id":"components/schemas/actor","kind":"json-schema","title":"actor","data":{"type":"object","required":["classification_status","session_actors","initiated_by","current_actor","current_platform_id","current_platform_family","current_self_declared","current_origin_type","detected_platform_ids","detected_family_ids","detected"],"properties":{"classification_status":{"$ref":"#/components/schemas/classification_status"},"session_actors":{"type":"array","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Everyone who has acted in the session so far, in the order "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"HUMAN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"AGENT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"BOT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[\"UNKNOWN\"]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" before the first attributed action."},"children":[],"type":"text"}],"type":"paragraph"}],"items":{"$ref":"#/components/schemas/session_actor"},"example":["HUMAN","AGENT"]},"initiated_by":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Actor of the session's first attributed action. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNKNOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" before one exists."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"HUMAN","allOf":[{"$ref":"#/components/schemas/session_actor"}]},"current_actor":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Who is acting at call time. An agent this call itself shows, otherwise the actor of the session's latest action with a verdict ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"HUMAN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"AGENT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"BOT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). This call alone when the session has no attributed action yet."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"AGENT","allOf":[{"$ref":"#/components/schemas/session_actor"}]},"current_platform_id":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Platform ID of the actor at call time, for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"comet"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unknown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the agent or bot cannot be named. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"none"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current_actor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"HUMAN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNKNOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"comet"},"current_platform_family":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Family of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current_platform_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unknown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"none"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" under the same conditions as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current_platform_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"perplexity"},"current_self_declared":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Whether the current platform declared itself on this call. The platform signed the request and named itself in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Signature-Agent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header (Web Bot Auth). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when Mosaic classified the platform from signals, and when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current_actor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"HUMAN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNKNOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":false},"current_origin_type":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Where the current actor runs, from this call's IP organization type. Hosting maps to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CLOUD_HOSTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNKNOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" before the session has any action."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"END_USER_DEVICE","allOf":[{"$ref":"#/components/schemas/origin_type"}]},"detected_platform_ids":{"type":"array","description":"Every platform ID seen in the session, in the order first seen. Entries are not removed.\n","items":{"type":"string"},"example":["comet"]},"detected_family_ids":{"type":"array","description":"Every platform family seen in the session. Entries are not removed.","items":{"type":"string"},"example":["perplexity"]},"detected":{"type":"array","description":"One entry per platform seen, in the order first seen.","items":{"$ref":"#/components/schemas/detected_platform"}}}}},"components/schemas/classification_status":{"id":"components/schemas/classification_status","kind":"json-schema","title":"classification_status","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"CLASSIFIED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" once "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"detected"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" has an entry. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PENDING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" until then. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PENDING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" does not mean the actor is human."},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["PENDING","CLASSIFIED"],"example":"CLASSIFIED"}},"components/schemas/session_actor":{"id":"components/schemas/session_actor","kind":"json-schema","title":"session_actor","data":{"type":"string","description":"Who acted in the session.","enum":["HUMAN","AGENT","BOT","UNKNOWN"],"example":"AGENT"}},"components/schemas/origin_type":{"id":"components/schemas/origin_type","kind":"json-schema","title":"origin_type","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Where an actor runs. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CLOUD_HOSTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the IP organization type is hosting. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNKNOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" before the session has any action."},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["END_USER_DEVICE","CLOUD_HOSTED","UNKNOWN"],"example":"END_USER_DEVICE"}},"components/schemas/detected_type":{"id":"components/schemas/detected_type","kind":"json-schema","title":"detected_type","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Kind of detected platform. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"AGENT_PLATFORM"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is a named agent. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"AUTOMATION"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is agent activity whose platform is not named. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"BOT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is scripted traffic that is not an agent."},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["AGENT_PLATFORM","AUTOMATION","BOT"],"example":"AGENT_PLATFORM"}},"components/schemas/detected_platform":{"id":"components/schemas/detected_platform","kind":"json-schema","title":"detected_platform","data":{"type":"object","required":["type","platform_id","platform_family","platform_name","self_declared","origin_type","first_seen_at","last_seen_at"],"properties":{"type":{"$ref":"#/components/schemas/detected_type"},"platform_id":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Platform ID from the catalog, for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"comet"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unknown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the agent or bot cannot be named. Match rules on this field."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"comet"},"platform_family":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Family of the platform, for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"perplexity"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unknown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the platform is not named."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"perplexity"},"platform_name":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Display name, for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Comet"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The name can change. Match rules on "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"platform_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", not this field."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"Comet"},"self_declared":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Whether the platform declared itself on any of its actions (Web Bot Auth: it signed a request and named itself in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Signature-Agent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when Mosaic classified the platform from signals."},"children":[],"type":"text"}],"type":"paragraph"}],"example":false},"origin_type":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Where it runs, from its latest action's IP organization type. Hosting maps to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CLOUD_HOSTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"END_USER_DEVICE","allOf":[{"$ref":"#/components/schemas/origin_type"}]},"first_seen_at":{"type":"number","description":"When the platform was first seen in the session, as Unix epoch time in milliseconds.","example":1762160000000},"last_seen_at":{"type":"number","description":"When the platform was last seen in the session, as Unix epoch time in milliseconds.","example":1762160042000}}}},"components/schemas/session_context":{"id":"components/schemas/session_context","kind":"json-schema","title":"session_context","data":{"type":"object","required":["session_id","session_started_at","session_duration_seconds","session_total_pages","session_total_interactions","action_performed_at"],"properties":{"device_id":{"type":"string","description":"Device identifier generated by Transmit Security and stored by the SDK.","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwZGE4ZmZjYy01NmE1LTRmMjgtYThkZi04NDY5MmYwYThmYTAiLCJ2ZXJzaW9uIjoxLCJpYXQiOjE2NTU3OTYzODQ1MzF9.TeGoqlCe_6eWzl9a3-vAumG4Xap8WjwsgcO2-DzGtLg"},"device_fingerprint":{"type":"string","description":"Hash of the device data collected from the browser.","example":"a3c8f5ea75cb65fcdc3d0452b985f957a46e24afdc912e93dac1e115ecf408e5"},"application_id":{"type":"string","description":"Identifies the application associated with the action.","example":"ece93f4"},"client_id":{"type":"string","description":"Identifies the client associated with the action.","example":"d152ddd.ece93f4.c2a3d12.riskid.security"},"correlation_id":{"type":"string","description":"Identifier that relates the action to external context or a session, when set by the SDK or by this request.\n","example":"bcb934d8-89cb-433b-a4c7-b7d94299586b"},"user_id":{"type":"string","description":"Opaque identifier of the user in your system.","example":"5c4afa75c"},"claimed_user_id":{"type":"string","description":"Identifier of the user who is not yet authenticated.","example":"5c4afa75c"},"claimed_user_id_type":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Type of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"claimed_user_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", from this call or the latest call that sent it."},"children":[],"type":"text"}],"type":"paragraph"}],"allOf":[{"$ref":"#/components/schemas/claimed_user_id_type"}]},"ip":{"type":"string","description":"IP address.","example":"192.168.0.1"},"ip_country":{"type":"string","description":"Country code, in ISO 3166-1 alpha-2 format.","example":"US"},"ip_location_region":{"type":"string","description":"Location region identified by IP address.","example":"California"},"ip_domain":{"type":"string","description":"Domain name resolved from the IP address.","example":"example.com"},"ip_location_city":{"type":"string","description":"Location city identified by IP address.","example":"Los Angeles"},"ip_location_zip":{"type":"string","description":"Location ZIP code identified by IP address.","example":"92131"},"ip_location_longitude":{"type":"string","description":"Geolocation longitude identified by IP address.","example":"-117.0903"},"ip_location_latitude":{"type":"string","description":"Geolocation latitude identified by IP address.","example":"32.9167"},"ip_asn_id":{"type":"string","description":"Autonomous System Number of the IP address.","example":"AS174"},"ip_asn_name":{"type":"string","description":"ASN name of the IP address.","example":"AS174 Cogent Communications"},"ip_organization_name":{"type":"string","description":"Organization name associated with the IP address.","example":"Cogent Communications"},"ip_organization_type":{"type":"string","description":"Type of IP connection.","example":"isp"},"ip_location_timezone":{"type":"string","description":"Timezone identified by IP address.","example":"America/Los_Angeles"},"device_timezone":{"type":"string","description":"Timezone on the device.","example":"America/Los_Angeles"},"device_languages":{"type":"array","description":"Languages on the device.","items":{"type":"string"},"example":["en-US","en"]},"device_platform":{"type":"string","description":"Type of device platform.","example":"desktop"},"os_name":{"type":"string","description":"Name of the operating system.","example":"macOS"},"os_version":{"type":"string","description":"Operating system version.","example":"14.1.0"},"browser_name":{"type":"string","description":"Name of the browser.","example":"Chrome"},"browser_version":{"type":"string","description":"Browser major version.","example":"113"},"user_agent":{"type":"string","description":"User agent.","example":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"},"session_id":{"type":"string","description":"Agent Intelligence session ID. The same ID shown on the Sessions page. A token can cover more than one session on the same device. Each response is about the device's current session, and this field identifies it.\n","example":"ags_3f9c2e7a1b8d4c60"},"session_started_at":{"type":"number","description":"Session start, as Unix epoch time in milliseconds.","example":1762159950000},"session_duration_seconds":{"type":"number","description":"Seconds from the session start to this call.","example":95},"session_entry_page":{"type":"string","description":"Path of the first page of the session. Omitted until the SDK reports a page.","example":"/login"},"location":{"type":"string","description":"Path of the page the session is on at call time. Omitted until the SDK reports a page.","example":"/transfers/new"},"session_total_pages":{"type":"number","description":"Pages visited so far. A reload of the same page counts once.","example":4},"session_total_interactions":{"type":"number","description":"SDK interaction events so far, counted the same way as on the Sessions page.","example":37},"action_performed_at":{"type":"number","description":"Time of this call, as Unix epoch time in milliseconds.","example":1762160045000},"action_type":{"type":"string","description":"Action from this call, or from the latest call that sent one.","example":"transaction"},"auth_context":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"auth_context"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from this call, or from the latest call that sent one. Each field is taken the same way as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"action_type"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"allOf":[{"$ref":"#/components/schemas/auth_context"}]}}}},"components/schemas/device_signals":{"id":"components/schemas/device_signals","kind":"json-schema","title":"device_signals","data":{"type":"object","description":"Device risk signals for the session.","properties":{"incognito":{"type":"boolean","description":"Whether the event was performed using incognito browsing."},"tampered":{"type":"boolean","description":"Whether the device is tampered (root or jailbreak)."},"emulated":{"type":"boolean","description":"Whether the device is emulated."},"spoofed":{"type":"boolean","description":"Whether the device is spoofed."},"tz_mismatch":{"type":"boolean","description":"Whether the event was performed on a device whose timezone does not match the expected timezone."}}}},"components/schemas/network_signals":{"id":"components/schemas/network_signals","kind":"json-schema","title":"network_signals","data":{"type":"object","description":"Network risk signals for the session.","properties":{"vpn":{"type":"boolean","description":"Whether the event was performed using a VPN connection."},"tor":{"type":"boolean","description":"Whether the event was performed using a Tor connection."},"hosting":{"type":"boolean","description":"Whether the event was performed from a hosting provider."},"proxy":{"type":"boolean","description":"Whether the event was performed via a proxy."},"anonymizer":{"type":"boolean","description":"Whether the event was performed via an anonymizer."},"residential_proxy":{"type":"boolean","description":"Whether the event was performed via a residential proxy."},"residential_proxy_service":{"type":"string","nullable":true,"description":"Residential proxy service the IP belongs to.","example":"ipfoxy"}}}},"components/schemas/risk_signals":{"id":"components/schemas/risk_signals","kind":"json-schema","title":"risk_signals","data":{"type":"object","required":["device","network"],"properties":{"device":{"$ref":"#/components/schemas/device_signals"},"network":{"$ref":"#/components/schemas/network_signals"}}}},"schema_0":{"kind":"json-schema","data":{"type":"string"},"id":"schema_0"}},"exampleStore":{"paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal":{"value":{"session_token":"a3c8f5ea75cb65fcdc3d0452b985f957a46e24afdc912e93dac1e115ecf408e5"},"key":"minimal","summary":"Session token only","id":"paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/minimal"},"paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full":{"value":{"session_token":"a3c8f5ea75cb65fcdc3d0452b985f957a46e24afdc912e93dac1e115ecf408e5","action_type":"transaction","correlation_id":"order-8812","claimed_user_id":"7c4a8d09ca3762af61e59520943dc26494f8941b","claimed_user_id_type":"email","auth_context":{"user_id":"user-123","auth_method":"password","failed_attempts":0}},"key":"full","summary":"With the optional request fields","id":"paths/~1agent-intelligence~1session/post/requestBody/content/application~1json/examples/full"},"paths/~1agent-intelligence~1session/post/responses/200/content/application~1json/example":{"value":{"id":"9b1f4c2e8a7d6b5c4e3f2a1b0c9d8e7f","issued_at":1762160045000,"actor":{"classification_status":"CLASSIFIED","session_actors":["HUMAN","AGENT"],"initiated_by":"HUMAN","current_actor":"AGENT","current_platform_id":"comet","current_platform_family":"perplexity","current_self_declared":false,"current_origin_type":"END_USER_DEVICE","detected_platform_ids":["comet"],"detected_family_ids":["perplexity"],"detected":[{"type":"AGENT_PLATFORM","platform_id":"comet","platform_family":"perplexity","platform_name":"Comet","self_declared":false,"origin_type":"END_USER_DEVICE","first_seen_at":1762160000000,"last_seen_at":1762160042000}]},"context":{"session_id":"ags_3f9c2e7a1b8d4c60","session_started_at":1762159950000,"session_duration_seconds":95,"session_entry_page":"/login","location":"/transfers/new","session_total_pages":4,"session_total_interactions":37,"action_performed_at":1762160045000,"action_type":"transaction","claimed_user_id":"7c4a8d09ca3762af61e59520943dc26494f8941b","claimed_user_id_type":"email","ip":"192.168.0.1","ip_country":"US","browser_name":"Chrome","os_name":"macOS"},"risk_signals":{"device":{"incognito":false,"tampered":false,"emulated":false,"spoofed":false,"tz_mismatch":false},"network":{"vpn":false,"tor":false,"hosting":false,"proxy":false,"anonymizer":false,"residential_proxy":false,"residential_proxy_service":null}}},"id":"paths/~1agent-intelligence~1session/post/responses/200/content/application~1json/example"}},"securitySchemeStore":{"risk_access_token":{"id":"risk_access_token","type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An access token generated by the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/openapi/token.openapi/other/getaccesstoken"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"token endpoint"},"children":[],"type":"text"}],"type":"link"}],"type":"paragraph"}]}},"specVersion":"3.0.2","servers":[{"url":"https://api.sbx.transmitsecurity.io/risk/v1","description":"Sandbox environment"},{"url":"https://api.transmitsecurity.io/risk/v1","description":"US production environment"},{"url":"https://api.eu.transmitsecurity.io/risk/v1","description":"EU production environment"},{"url":"https://api.ca.transmitsecurity.io/risk/v1","description":"CA production environment"},{"url":"https://api.au.transmitsecurity.io/risk/v1","description":"AU production environment"},{"url":"https://api.gasne1-ts01.transmitsecurity.io/risk/v1","description":"JP production environment"}],"specType":"openapi"},"options":{"corsProxyUrl":"https://cors.redoc.ly","hideSchemaTitles":true,"onlyRequiredInSamples":false,"maxDisplayedEnumValues":10,"hideDownloadButtons":false,"codeSamples":{"skipOptionalParameters":false,"languages":[{"lang":"curl","label":"cURL"},{"lang":"Node.js"},{"lang":"Go"},{"lang":"JavaScript"},{"lang":"Java"},{"lang":"Python"}]},"feedback":{"hide":true,"settings":{"label":""}},"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi/agent-intelligence/agent-intelligence.openapi.json?download"},{"url":"/_bundle/openapi/agent-intelligence/agent-intelligence.openapi.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Agent Intelligence","description":"[Agent Intelligence](/guides/agent-intelligence/overview.md) helps you understand how AI agents operate inside your customer-facing application: which agents are active, which pages and flows they touch, and whether a human is also present in the session.\n\nThe Agent Intelligence API returns the current session for a browser. The response identifies who is acting, and includes the session context together with device and network risk signals. The endpoint returns data only. It does not allow, deny, or challenge the request.\n\nFor integration steps, see [Retrieve session data](/guides/agent-intelligence/retrieve_session_data.md).\n"}},"baseSlug":"/openapi/agent-intelligence/agent-intelligence.openapi","routesMapping":{}}