Skip to main content
The filesystem volumes API lets you discover which filesystem volumes are accessible in your Relevance AI environment. This is useful when building tools that read from or write to specific storage locations.
All API examples on this page use the AU endpoint. Replace the subdomain with api-d7b62b (EU) or api-bcbe5a (US) if your organization is hosted in a different region.

Region-specific endpoints

RegionBase URL
AUhttps://api-f1db6c.stack.tryrelevance.com/latest
EUhttps://api-d7b62b.stack.tryrelevance.com/latest
UShttps://api-bcbe5a.stack.tryrelevance.com/latest

GET /fs/volumes

Returns a list of accessible filesystem volumes with their metadata.

Parameters

ParameterTypeRequiredDescription
conversation_idstringNoFilter volumes by conversation context

Example request

curl 'https://api-f1db6c.stack.tryrelevance.com/latest/fs/volumes' \
  --request GET \
  --header 'Authorization: Bearer <project_id>:<api_key>'
To filter by conversation context, pass conversation_id as a query parameter:
curl 'https://api-f1db6c.stack.tryrelevance.com/latest/fs/volumes?conversation_id=<conversation_id>' \
  --request GET \
  --header 'Authorization: Bearer <project_id>:<api_key>'

Response

The response is a list of volume objects. Each object includes:
FieldTypeDescription
keystringUnique identifier for the volume
labelstringHuman-readable name for the volume
file_typesobjectInformation about the file types supported or present in the volume

Example response

{
  "results": [
    {
      "key": "volume-abc123",
      "label": "Conversation files",
      "file_types": {
        "allowed": ["pdf", "txt", "csv"],
        "default": "txt"
      }
    },
    {
      "key": "volume-def456",
      "label": "Shared workspace",
      "file_types": {
        "allowed": ["pdf", "docx", "xlsx"],
        "default": "pdf"
      }
    }
  ]
}