Namespaces

Update a namespace.

Changed on

Update a namespace for the authenticated organization. If there is no change, return it as it is.

patch/v1/namespace/{namespaceId}

Request

  • Base URL
    https://api.agentset.ai
  • Auth
    HTTP bearer

Path parameters

namespaceIdstring required

The id of the namespace (prefixed with ns_)

Example:ns_123

Request body

namestring
slugstring

Response

The updated namespace

successtrue required

Example response

{
  "data": {
    "embeddingConfig": {
      "resourceName": "my-resource-name"
    },
    "vectorStoreConfig": {
      "indexHost": "https://example.svc.aped-1234-a56b.pinecone.io"
    }
  }
}

Changes

    • warning

      added the new gcp-europe-west1 enum value to the /////// response property for the response status