{ "project_id": "New Project", "source": "playground", "session_id": "caf77ace-3417-4da4-944d-f4a0688f3c23", "event_id": "7f22137a-6911-4ed3-bc36-110f1dde6b66", "parent_id": "caf77ace-3417-4da4-944d-f4a0688f3c23", "event_type": "model", "event_name": "Model Completion", "config": { "model": "gpt-3.5-turbo", "version": "v0.1 - Fork", "provider": "openai", "hyperparameters": { "temperature": 0, "top_p": 1, "max_tokens": 1000, "presence_penalty": 0, "frequency_penalty": 0, "stop": [], "n": 1 }, "template": [ { "role": "system", "content": "Answer the user's question only using provided context.\n\nContext: {{ context }}" }, { "role": "user", "content": "{{question}}" } ], "type": "chat" }, "children_ids": [], "inputs": { "context": "Hello world", "question": "What is in the context?", "chat_history": [ { "role": "system", "content": "Answer the user's question only using provided context.\n\nContext: Hello world" }, { "role": "user", "content": "What is in the context?" } ] }, "outputs": { "role": "assistant", "content": "Hello world" }, "error": null, "start_time": "2024-04-01 22:38:19", "end_time": "2024-04-01 22:38:19", "duration": 824.8056, "metadata": { "cost": 0.00008, "completion_tokens": 23, "prompt_tokens": 35, "total_tokens": 58 }, "feedback": {}, "metrics": { "Answer Faithfulness": 5, "Answer Faithfulness_explanation": "The AI assistant's answer is a concise and accurate description of Ramp's API. It provides a clear explanation of what the API does and how developers can use it to integrate Ramp's financial services into their own applications. The answer is faithful to the provided context.", "Number of words": 18 }, "user_properties": { "user": "google-oauth2|111840237613341303366" }}
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
session_id
string
required
Response
200 - application/json
Session details
project_id
string
Name of project associated with the event
source
string
Source of the event - production, staging, etc
event_name
string
Name of the event
event_type
enum<string>
Specify whether the event is of "session", "model", "tool" or "chain" type
Available options:
session,
model,
tool,
chain
event_id
string
Unique id of the event, if not set, it will be auto-generated
session_id
string
Unique id of the session associated with the event, if not set, it will be auto-generated
parent_id
string
Id of the parent event if nested
children_ids
string[]
Id of events that are nested within the event
config
object
Associated configuration JSON for the event - model name, vector index name, etc
inputs
object
Input JSON given to the event - prompt, chunks, etc
Show child attributes
outputs
object
Final output JSON of the event
error
string
Any error description if event failed
start_time
number
UTC timestamp (in milliseconds) for the event start
end_time
integer
UTC timestamp (in milliseconds) for the event end
duration
number
How long the event took in milliseconds
metadata
object
Any system or application metadata associated with the event
feedback
object
Any user feedback provided for the event output
metrics
object
Any values computed over the output of the event
user_properties
object
Any user properties associated with the event
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"HoneyHive AI Docs","description":"AI observability and evaluation platform. Trace, evaluate, monitor, and improve AI agents and LLM applications.","colors":{"primary":"#A56311","light":"#E8A23D","dark":"#A56311"},"logo":{"light":"https://mintcdn.com/honeyhiveai/lWy7JAPdMsmL06l1/logo/light.svg?fit=max\u0026auto=format\u0026n=lWy7JAPdMsmL06l1\u0026q=85\u0026s=419c99bb22ce1e89ae8fb4a87c589528","dark":"https://mintcdn.com/honeyhiveai/lWy7JAPdMsmL06l1/logo/dark.svg?fit=max\u0026auto=format\u0026n=lWy7JAPdMsmL06l1\u0026q=85\u0026s=2cee835bc5438cd29005218a18e0168b"},"favicon":{"light":"https://mintcdn.com/honeyhiveai/W7aN2oGPMTbOQxZv/images/favicon.svg?fit=max\u0026auto=format\u0026n=W7aN2oGPMTbOQxZv\u0026q=85\u0026s=1c201da27b06120f1c630bf53ad1a831","dark":"https://mintcdn.com/honeyhiveai/W7aN2oGPMTbOQxZv/images/favicon-dark.svg?fit=max\u0026auto=format\u0026n=W7aN2oGPMTbOQxZv\u0026q=85\u0026s=01cb0bffc66454f0e19853e701832110"},"api":{"openapi":["output.yaml","https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml","https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml"],"mdx":{"auth":{"method":"key","name":"key"},"server":"https://api.dp1.us.honeyhive.ai"}},"appearance":{"default":"light"},"background":{"color":{"light":"#ffffff","dark":"#101010"}},"navbar":{"links":[{"href":"https://discord.gg/vqctGpqA97","label":"Community"}],"primary":{"type":"button","label":"Log In","href":"https://app.us.honeyhive.ai"}},"footer":{"socials":{"x":"https://x.com/honeyhiveai","linkedin":"https://www.linkedin.com/company/honeyhive-ai","github":"https://github.com/honeyhiveai"},"links":[{"header":"Resources","items":[{"label":"Quickstart","href":"https://docs.honeyhive.ai/v2/introduction/tracing-quickstart"},{"label":"SDK Reference","href":"https://docs.honeyhive.ai/v2/sdk-reference/overview"},{"label":"API Reference","href":"https://docs.honeyhive.ai/v2/api-reference-autogen/sessions/start-a-new-session"},{"label":"Integrations","href":"https://docs.honeyhive.ai/v2/integrations/openai"},{"label":"Changelog","href":"https://docs.honeyhive.ai/v2/changelog/product"}]},{"header":"Explore","items":[{"label":"Sign Up","href":"https://app.us.honeyhive.ai"},{"label":"Pricing","href":"https://www.honeyhive.ai/pricing"},{"label":"Blog","href":"https://honeyhive.ai/blog"}]},{"header":"Platform","items":[{"label":"Observability","href":"https://honeyhive.ai/observability"},{"label":"Evaluation","href":"https://honeyhive.ai/evaluation"},{"label":"Prompt Management","href":"https://honeyhive.ai/playground"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://honeyhive.ai/terms"},{"label":"Privacy Policy","href":"https://honeyhive.ai/privacy"}]}]},"search":{"prompt":"Search or ask AI..."},"seo":{"metatags":{"og:site_name":"HoneyHive AI Docs"},"indexing":"navigable"},"integrations":{"posthog":{"apiKey":"phc_CtmMXHNhIs1Iem8viAsXYH7lB0aaj4X2nCrCunPqDbF","sessionRecording":false},"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode",{"title":"Join Discord","description":"Get help from the HoneyHive community","icon":"discord","href":"https://discord.gg/vqctGpqA97"}],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"honeyhiveai","hasAudioNarration":false,"actualSubdomain":"honeyhiveai","customDomains":["docs.honeyhive.ai"],"gitSource":{"type":"github","owner":"honeyhiveai","repo":"honeyhive-ai-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":false,"edits":false,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b063030039b03248f9813a7","clientVersion":"0.0.4324","searchFilterCounts":[{"language":"default","tag":"v2","count":504},{"language":"default","tag":"Reference","count":250},{"language":"default","tag":"SDK Reference","count":245},{"language":"default","tag":"TypeScript API SDK","count":137},{"language":"default","tag":"API Reference","count":101},{"language":"default","tag":"TypeScript Control Plane SDK","count":97},{"language":"default","tag":"Documentation","count":92},{"language":"default","tag":"Data Plane API","count":63},{"language":"default","tag":"Experiments","count":40},{"language":"default","tag":"Control Plane API","count":37}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@honeyhive.ai"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".update-container .hh-update-entry:first-child>h2{margin-top:0}"}]}
{"page":{"pagePath":"api-reference/session/retrieve-a-session","slug":"/api-reference/session/retrieve-a-session","pageMetadata":{"openapi":"get /session/{session_id}","noindex":true,"title":"Retrieve a session","description":null,"href":"/api-reference/session/retrieve-a-session"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /session/{session_id}","noindex":true,"title":"Retrieve a session","description":null,"href":"/api-reference/session/retrieve-a-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/honeyhiveai/295d4d275d20dba2/leadfeeder.js"],"openApiReferenceData":{"operation":{"summary":"Retrieve a session","operationId":"getSession","tags":["Session"],"parameters":["dbcefb4a-cf8a-4c85-b7d4-429c5f2f0f70"],"responses":{"200":"891686bb-1704-47f6-a523-41194083f160"},"x-codeSamples":[{"lang":"python","label":"getSession","source":"import honeyhive\n\ns = honeyhive.HoneyHive(\n bearer_auth=\"\u003cYOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.session.get_session(session_id='\u003cvalue>')\n\nif res.event is not None:\n # handle response\n pass"},{"lang":"typescript","label":"getSession","source":"import { HoneyHive } from \"honeyhive\";\nimport { GetSessionRequest } from \"honeyhive/dist/models/operations\";\n\nasync function run() {\n const sdk = new HoneyHive({\n bearerAuth: \"\u003cYOUR_BEARER_TOKEN_HERE>\",\n });\nconst sessionId: string = \"\u003cvalue>\";\n\n const res = await sdk.session.getSession(sessionId);\n\n if (res.statusCode == 200) {\n // handle response\n }\n}\n\nrun();"}],"method":"get","type":"path","servers":["9c085861-5b70-49fb-8539-db0cd1f26b97"],"security":["a9b62862-c317-4d53-990d-dc3e72abce55"],"path":"/session/{session_id}","baseUrlOptions":["https://api.honeyhive.ai"],"title":"Retrieve a session","description":"","codeSamples":[{"label":"getSession","lang":"python","source":"import honeyhive\n\ns = honeyhive.HoneyHive(\n bearer_auth=\"\u003cYOUR_BEARER_TOKEN_HERE>\",\n)\n\n\nres = s.session.get_session(session_id='\u003cvalue>')\n\nif res.event is not None:\n # handle response\n pass"},{"label":"getSession","lang":"typescript","source":"import { HoneyHive } from \"honeyhive\";\nimport { GetSessionRequest } from \"honeyhive/dist/models/operations\";\n\nasync function run() {\n const sdk = new HoneyHive({\n bearerAuth: \"\u003cYOUR_BEARER_TOKEN_HERE>\",\n });\nconst sessionId: string = \"\u003cvalue>\";\n\n const res = await sdk.session.getSession(sessionId);\n\n if (res.statusCode == 200) {\n // handle response\n }\n}\n\nrun();"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"dbcefb4a-cf8a-4c85-b7d4-429c5f2f0f70":{"name":"session_id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"891686bb-1704-47f6-a523-41194083f160":{"description":"Session details","content":{"application/json":{"schema":{"type":"object","properties":{"project_id":{"type":"string","description":"Name of project associated with the event","uniqueKey":"project_id","typeLabel":"string"},"source":{"type":"string","description":"Source of the event - production, staging, etc","uniqueKey":"source","typeLabel":"string"},"event_name":{"type":"string","description":"Name of the event","uniqueKey":"event_name","typeLabel":"string"},"event_type":{"type":"string","enum":["session","model","tool","chain"],"description":"Specify whether the event is of \"session\", \"model\", \"tool\" or \"chain\" type","uniqueKey":"event_type","typeLabel":"enum\u003cstring>"},"event_id":{"type":"string","description":"Unique id of the event, if not set, it will be auto-generated","uniqueKey":"event_id","typeLabel":"string"},"session_id":{"type":"string","description":"Unique id of the session associated with the event, if not set, it will be auto-generated","uniqueKey":"session_id","typeLabel":"string"},"parent_id":{"type":"string","description":"Id of the parent event if nested","uniqueKey":"parent_id","typeLabel":"string"},"children_ids":{"type":"array","items":{"type":"string","uniqueKey":"children_ids.items.[INDEX]","typeLabel":"string"},"description":"Id of events that are nested within the event","uniqueKey":"children_ids","typeLabel":"string[]"},"config":{"type":"object","additionalProperties":true,"description":"Associated configuration JSON for the event - model name, vector index name, etc","uniqueKey":"config","typeLabel":"object"},"inputs":{"type":"object","additionalProperties":true,"description":"Input JSON given to the event - prompt, chunks, etc","properties":{"chat_history":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"inputs.chat_history.items.[INDEX]","typeLabel":"object"},"description":"Messages passed to the model","uniqueKey":"inputs.chat_history","typeLabel":"object[]"}},"uniqueKey":"inputs","typeLabel":"object"},"outputs":{"type":"object","additionalProperties":true,"description":"Final output JSON of the event","uniqueKey":"outputs","typeLabel":"object"},"error":{"type":"string","description":"Any error description if event failed","uniqueKey":"error","typeLabel":"string"},"start_time":{"type":"number","description":"UTC timestamp (in milliseconds) for the event start","uniqueKey":"start_time","typeLabel":"number"},"end_time":{"type":"integer","description":"UTC timestamp (in milliseconds) for the event end","uniqueKey":"end_time","typeLabel":"integer"},"duration":{"type":"number","description":"How long the event took in milliseconds","uniqueKey":"duration","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":true,"description":"Any system or application metadata associated with the event","uniqueKey":"metadata","typeLabel":"object"},"feedback":{"type":"object","additionalProperties":true,"description":"Any user feedback provided for the event output","uniqueKey":"feedback","typeLabel":"object"},"metrics":{"type":"object","additionalProperties":true,"description":"Any values computed over the output of the event","uniqueKey":"metrics","typeLabel":"object"},"user_properties":{"type":"object","additionalProperties":true,"description":"Any user properties associated with the event","uniqueKey":"user_properties","typeLabel":"object"}},"example":{"project_id":"New Project","source":"playground","session_id":"caf77ace-3417-4da4-944d-f4a0688f3c23","event_id":"7f22137a-6911-4ed3-bc36-110f1dde6b66","parent_id":"caf77ace-3417-4da4-944d-f4a0688f3c23","event_type":"model","event_name":"Model Completion","config":{"model":"gpt-3.5-turbo","version":"v0.1 - Fork","provider":"openai","hyperparameters":{"temperature":0,"top_p":1,"max_tokens":1000,"presence_penalty":0,"frequency_penalty":0,"stop":[],"n":1},"template":[{"role":"system","content":"Answer the user's question only using provided context.\n\nContext: {{ context }}"},{"role":"user","content":"{{question}}"}],"type":"chat"},"children_ids":[],"inputs":{"context":"Hello world","question":"What is in the context?","chat_history":[{"role":"system","content":"Answer the user's question only using provided context.\n\nContext: Hello world"},{"role":"user","content":"What is in the context?"}]},"outputs":{"role":"assistant","content":"Hello world"},"error":null,"start_time":"2024-04-01 22:38:19","end_time":"2024-04-01 22:38:19","duration":824.8056,"metadata":{"cost":0.00008,"completion_tokens":23,"prompt_tokens":35,"total_tokens":58},"feedback":{},"metrics":{"Answer Faithfulness":5,"Answer Faithfulness_explanation":"The AI assistant's answer is a concise and accurate description of Ramp's API. It provides a clear explanation of what the API does and how developers can use it to integrate Ramp's financial services into their own applications. The answer is faithful to the provided context.","Number of words":18},"user_properties":{"user":"google-oauth2|111840237613341303366"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"project_id":"New Project","source":"playground","session_id":"caf77ace-3417-4da4-944d-f4a0688f3c23","event_id":"7f22137a-6911-4ed3-bc36-110f1dde6b66","parent_id":"caf77ace-3417-4da4-944d-f4a0688f3c23","event_type":"model","event_name":"Model Completion","config":{"model":"gpt-3.5-turbo","version":"v0.1 - Fork","provider":"openai","hyperparameters":{"temperature":0,"top_p":1,"max_tokens":1000,"presence_penalty":0,"frequency_penalty":0,"stop":[],"n":1},"template":[{"role":"system","content":"Answer the user's question only using provided context.\n\nContext: {{ context }}"},{"role":"user","content":"{{question}}"}],"type":"chat"},"children_ids":[],"inputs":{"context":"Hello world","question":"What is in the context?","chat_history":[{"role":"system","content":"Answer the user's question only using provided context.\n\nContext: Hello world"},{"role":"user","content":"What is in the context?"}]},"outputs":{"role":"assistant","content":"Hello world"},"error":null,"start_time":"2024-04-01 22:38:19","end_time":"2024-04-01 22:38:19","duration":824.8056,"metadata":{"cost":0.00008,"completion_tokens":23,"prompt_tokens":35,"total_tokens":58},"feedback":{},"metrics":{"Answer Faithfulness":5,"Answer Faithfulness_explanation":"The AI assistant's answer is a concise and accurate description of Ramp's API. It provides a clear explanation of what the API does and how developers can use it to integrate Ramp's financial services into their own applications. The answer is faithful to the provided context.","Number of words":18},"user_properties":{"user":"google-oauth2|111840237613341303366"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a9b62862-c317-4d53-990d-dc3e72abce55":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"9c085861-5b70-49fb-8539-db0cd1f26b97":{"url":"https://api.honeyhive.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"output.yaml"},"subdomain":"honeyhiveai","siteName":"HoneyHive AI Docs","title":"Retrieve a session - HoneyHive AI Docs","relatedPagesConfig":{"enabled":true,"limit":3,"mode":"automatic"},"contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:21:53.398Z","originalFileLocation":"api-reference/session/retrieve-a-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"HoneyHive AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve a session - HoneyHive AI Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HoneyHive AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.honeyhive.ai/api-reference/session/retrieve-a-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://honeyhiveai.mintlify.site/_mintlify/api/og/v2?division=Session\u0026amp;title=Retrieve+a+session\u0026amp;theme=5d33c6c4b6bf57211dea5b47\u0026amp;signature=b5a5005d04e4e2f1b939410bb92021f60f5aa493be327d92f79c3788ac548f7a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Retrieve a session - HoneyHive AI Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://honeyhiveai.mintlify.site/_mintlify/api/og/v2?division=Session\u0026amp;title=Retrieve+a+session\u0026amp;theme=5d33c6c4b6bf57211dea5b47\u0026amp;signature=b5a5005d04e4e2f1b939410bb92021f60f5aa493be327d92f79c3788ac548f7a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HoneyHive AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#A56311\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.honeyhive.ai/api-reference/session/retrieve-a-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/session/retrieve-a-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"HoneyHive AI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"HoneyHive AI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/session/retrieve-a-session.md","siteName":"HoneyHive AI Docs","nav":{"global":{},"products":[{"product":"v2","icon":"hive","description":"The next generation of HoneyHive.","pages":[{"title":"v2","href":"/v2/introduction/what-is-hhai"}]},{"product":"v1 (legacy)","icon":"server","description":"Deprecating Nov 5, 2026.","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction/what-is-hhai"}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/sdk-reference/authentication"}]},{"tab":"API Reference","groups":[{"group":"Session","pages":[{"openapi":"output.yaml post /session/start","title":"Start a new session","description":null,"href":"/api-reference/session/start-a-new-session"},{"openapi":"get /session/{session_id}","title":"Retrieve a session","href":"/api-reference/session/retrieve-a-session"}]},{"group":"Events","pages":[{"openapi":"output.yaml put /events","title":"Update an event","description":null,"href":"/api-reference/events/update-an-event"},{"openapi":"output.yaml post /events","title":"Create a new event","href":"/api-reference/events/create-a-new-event"},{"openapi":"post /events/export","title":"Retrieve events based on filters","href":"/api-reference/events/retrieve-events-based-on-filters"},{"openapi":"output.yaml post /events/model","title":"Create a new model event","href":"/api-reference/events/create-a-new-model-event"},{"openapi":"output.yaml post /events/batch","title":"Create a batch of events","href":"/api-reference/events/create-a-batch-of-events"},{"openapi":"output.yaml post /events/model/batch","title":"Create a batch of model events","href":"/api-reference/events/create-a-batch-of-model-events"}]},{"group":"Metrics","pages":[{"openapi":"get /metrics","title":"Get all metrics","href":"/api-reference/metrics/get-all-metrics"},{"openapi":"put /metrics","title":"Update an existing metric","href":"/api-reference/metrics/update-an-existing-metric"},{"openapi":"post /metrics","title":"Create a new metric","href":"/api-reference/metrics/create-a-new-metric"},{"openapi":"delete /metrics","title":"Delete a metric","href":"/api-reference/metrics/delete-a-metric"}]},{"group":"Datapoints","pages":[{"openapi":"get /datapoints","title":"Retrieve a list of datapoints","href":"/api-reference/datapoints/retrieve-a-list-of-datapoints"},{"openapi":"post /datapoints","title":"Create a new datapoint","href":"/api-reference/datapoints/create-a-new-datapoint"},{"openapi":"get /datapoints/{id}","title":"Retrieve a specific datapoint","href":"/api-reference/datapoints/retrieve-a-specific-datapoint"},{"openapi":"put /datapoints/{id}","title":"Update a specific datapoint","href":"/api-reference/datapoints/update-a-specific-datapoint"},{"openapi":"delete /datapoints/{id}","title":"Delete a specific datapoint","href":"/api-reference/datapoints/delete-a-specific-datapoint"}]},{"group":"Datasets","pages":[{"openapi":"get /datasets","title":"Get datasets","href":"/api-reference/datasets/get-datasets"},{"openapi":"put /datasets","title":"Update a dataset","href":"/api-reference/datasets/update-a-dataset"},{"openapi":"post /datasets","title":"Create a dataset","href":"/api-reference/datasets/create-a-dataset"},{"openapi":"delete /datasets","title":"Delete a dataset","href":"/api-reference/datasets/delete-a-dataset"},{"openapi":"post /datasets/{dataset_id}/datapoints","title":"Add datapoints to a dataset","href":"/api-reference/datasets/add-datapoints-to-a-dataset"}]},{"group":"Projects","pages":[{"openapi":"get /projects","title":"Get a list of projects","href":"/api-reference/projects/get-a-list-of-projects"},{"openapi":"put /projects","title":"Update an existing project","href":"/api-reference/projects/update-an-existing-project"},{"openapi":"post /projects","title":"Create a new project","href":"/api-reference/projects/create-a-new-project"},{"openapi":"delete /projects","title":"Delete a project","href":"/api-reference/projects/delete-a-project"}]},{"group":"Experiments","pages":[{"openapi":"get /runs","title":"Get a list of evaluation runs","href":"/api-reference/experiments/get-a-list-of-evaluation-runs"},{"openapi":"post /runs","title":"Create a new evaluation run","href":"/api-reference/experiments/create-a-new-evaluation-run"},{"openapi":"get /runs/{run_id}","title":"Get details of an evaluation run","href":"/api-reference/experiments/get-details-of-an-evaluation-run"},{"openapi":"put /runs/{run_id}","title":"Update an evaluation run","href":"/api-reference/experiments/update-an-evaluation-run"},{"openapi":"delete /runs/{run_id}","title":"Delete an evaluation run","href":"/api-reference/experiments/delete-an-evaluation-run"},{"openapi":"get /runs/{run_id}/result","title":null,"href":"/api-reference/experiments/retrieve-experiment-result"},{"openapi":"get /runs/{run_id_1}/compare-with/{run_id_2}","title":null,"href":"/api-reference/experiments/retrieve-experiment-comparison"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/langchain"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]}]},"basePath":"","title":"Retrieve a session - HoneyHive AI Docs","deploymentId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","buildId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CbGMcFGR.js","snippetPresets-Bmv5mKa2.js","utils-CIXWNXpX.js","style-to-object-BY3JEAdk.js","utils-Ao5f3MLv.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CnDl3Tzk.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DCKK_-ms.js","_Uint8Array-AD2KodMR.js","isObject-FP1Yky1u.js","ApiExamples-WuhTLGpi.js","usePlaygroundInputsStore-TEEPsnq4.js","shallow-CPMaphSa.js","isEqual-DPVEsfEY.js","CodeSnippets-4KiTz0PS.js","CodeSnippet-Cy8aP2_X.js","use-playground-group-access-DM2iaKsK.js","Page-Ch7YiUoh.js","api-description-markdown-CN0nQq69.js","DynamicMarkdown-fZBmrd-V.js","SectionHeading-CwLwzaE9.js","MethodPill-De3Dnqxv.js","getPastedJson-obk3J_hD.js","Check2Icon-BbG90KLF.js","axios-CsQoIw0U.js","Markdown-CaQvVc8r.js","AssistantPageLink-C8wUIKD2.js","dist-CpT8yZOW.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}