GoodMem
ReferenceAPIREST APISpaces

Get a space by ID

Retrieves a specific space by its unique identifier. Returns the complete space information, including name, labels, embedder configuration, and metadata.

PUBLIC SPACE ACCESS: When public_read=true, any authenticated user can retrieve the space metadata, bypassing ownership checks. Otherwise, requires ownership or DISPLAY_SPACE_ANY permission. Requires DISPLAY_SPACE_OWN permission for owned spaces (or DISPLAY_SPACE_ANY for admin users to view any space). This is a read-only operation safe to retry.

GET
/v1/spaces/{id}
x-api-key<token>

In: header

Path Parameters

idstring

The unique identifier of the space to retrieve

Response Body

curl -X GET "http://localhost:8080/v1/spaces/550e8400-e29b-41d4-a716-446655440000"
{
  "spaceId": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Research Project Space",
  "labels": "{\"project\": \"AI Research\", \"team\": \"NLP Group\"}",
  "spaceEmbedders": [
    {
      "spaceId": "550e8400-e29b-41d4-a716-446655440000",
      "embedderId": "550e8400-e29b-41d4-a716-446655440000",
      "defaultRetrievalWeight": "1.0",
      "createdAt": "1651483320000",
      "updatedAt": "1651483320000",
      "createdById": "550e8400-e29b-41d4-a716-446655440000",
      "updatedById": "550e8400-e29b-41d4-a716-446655440000"
    }
  ],
  "createdAt": "1651483320000",
  "updatedAt": "1651483320000",
  "ownerId": "550e8400-e29b-41d4-a716-446655440000",
  "createdById": "550e8400-e29b-41d4-a716-446655440000",
  "updatedById": "550e8400-e29b-41d4-a716-446655440000",
  "publicRead": "false",
  "defaultChunkingConfig": {
    "none": {},
    "recursive": {
      "chunkSize": "1000",
      "chunkOverlap": "200",
      "separators": "[\"\\n\\n\", \"\\n\", \".\", \" \"]",
      "keepStrategy": "KEEP_END",
      "separatorIsRegex": "false",
      "lengthMeasurement": "CHARACTER_COUNT"
    },
    "sentence": {
      "maxChunkSize": "1000",
      "minChunkSize": "100",
      "enableLanguageDetection": "true",
      "lengthMeasurement": "CHARACTER_COUNT"
    }
  }
}
Empty
Empty
Empty
Empty