curl --request PUT \
--url https://api.studio.prisme.ai/v2/user/active-org \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"orgSlug": "<string>"
}
'{
"org": {
"slug": "<string>",
"name": "<string>",
"status": "<string>",
"branding": {},
"navigation": {
"version": 123,
"homePage": "<string>",
"menu": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"footer": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"quickActions": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
]
},
"role": {
"slug": "<string>",
"name": "<string>",
"permissions": [
"<string>"
],
"scopes": [
"<string>"
]
},
"groups": [
"<string>"
],
"settings": {},
"subscription": {
"slug": "<string>",
"name": "<string>",
"tier": "<string>",
"status": "active",
"id": "<string>",
"plan": "<string>",
"isDefault": true,
"limits": {},
"features": {},
"billing": {},
"startedAt": "<string>",
"expiresAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
},
"permissions": [
"<string>"
],
"organizations": [
{
"slug": "<string>",
"name": "<string>",
"roleSlug": "<string>",
"groups": [
"<string>"
]
}
]
}Set the active organization for the current session
curl --request PUT \
--url https://api.studio.prisme.ai/v2/user/active-org \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"orgSlug": "<string>"
}
'{
"org": {
"slug": "<string>",
"name": "<string>",
"status": "<string>",
"branding": {},
"navigation": {
"version": 123,
"homePage": "<string>",
"menu": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"footer": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"quickActions": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
]
},
"role": {
"slug": "<string>",
"name": "<string>",
"permissions": [
"<string>"
],
"scopes": [
"<string>"
]
},
"groups": [
"<string>"
],
"settings": {},
"subscription": {
"slug": "<string>",
"name": "<string>",
"tier": "<string>",
"status": "active",
"id": "<string>",
"plan": "<string>",
"isDefault": true,
"limits": {},
"features": {},
"billing": {},
"startedAt": "<string>",
"expiresAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
},
"permissions": [
"<string>"
],
"organizations": [
{
"slug": "<string>",
"name": "<string>",
"roleSlug": "<string>",
"groups": [
"<string>"
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success — returns updated org details
Hide child attributes
Organization navigation configuration
Hide child attributes
Schema version number
Route to use as home page (e.g., "/apps/agent-factory"). Must be a valid relative path starting with /. If not set, defaults to the platform default (SecureChat).
^\/[a-zA-Z0-9\-_\/]*$Main menu items
Hide child attributes
Unique identifier for this menu item
category, item, divider Display label (not required for dividers)
Icon name (from lucide-react)
Icon color (CSS color value)
Link destination (for type=item)
Link target
_self, _blank Whether category is expanded by default
Badge text to show (e.g., "New", "Beta")
Permissions required to see this item
Features attached to this item
Hide child attributes
agent, template Unique identifier for this feature within the menu item
Display label for the feature
Agent ID (required when type=agent)
Template ID (required when type=template)
Permissions required to see this feature
Child items (for type=category)
Footer menu items
Hide child attributes
Unique identifier for this menu item
category, item, divider Display label (not required for dividers)
Icon name (from lucide-react)
Icon color (CSS color value)
Link destination (for type=item)
Link target
_self, _blank Whether category is expanded by default
Badge text to show (e.g., "New", "Beta")
Permissions required to see this item
Features attached to this item
Hide child attributes
agent, template Unique identifier for this feature within the menu item
Display label for the feature
Agent ID (required when type=agent)
Template ID (required when type=template)
Permissions required to see this feature
Child items (for type=category)
Quick action buttons
Hide child attributes
Unique identifier for this menu item
category, item, divider Display label (not required for dividers)
Icon name (from lucide-react)
Icon color (CSS color value)
Link destination (for type=item)
Link target
_self, _blank Whether category is expanded by default
Badge text to show (e.g., "New", "Beta")
Permissions required to see this item
Features attached to this item
Hide child attributes
agent, template Unique identifier for this feature within the menu item
Display label for the feature
Agent ID (required when type=agent)
Template ID (required when type=template)
Permissions required to see this feature
Child items (for type=category)
Hide child attributes
active, inactive, trialing, past_due, canceled Was this page helpful?