---
title: "Metadata"
description: "Session metadata."
---

> Documentation Index
> Fetch the complete documentation index at: https://help.tooluse.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Metadata

<p>Attach a small JSON object as top-level <code>userMetadata</code> when creating a session, or update it on the session resource. Metadata is application data; do not put passwords, tokens or payment details in it.</p>
<pre><code class="language-bash">curl -X POST "https://api.tooluse.net/v1/browsers/sessions/$SESSION_ID" \
  -H "Authorization: Bearer $TOOLUSE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"userMetadata":{"workflow":"checkout","case":"example-001"}}'
</code></pre>
<p>Read the session back to inspect the stored metadata. Session listing supports bounded metadata filters; use the generated schema for the exact query format.</p>
<pre><code class="language-bash">curl "https://api.tooluse.net/v1/browsers/sessions/$SESSION_ID" \
  -H "Authorization: Bearer $TOOLUSE_API_KEY"
</code></pre>

Source: https://help.tooluse.net/browsers/core-features/session-metadata/index.mdx
