curl --location --request PUT 'https://api.getmetal.io/v1/indexes/test-index-id' \ --header 'Content-Type: application/json' \ --header 'x-metal-api-key: <api-key>' \ --header 'x-metal-client-id: <client-id>' \ --data-raw '{ "status": "DEACTIVATING" }'
{ "data": { "id": "1", "createdAt": "2023-08-23T22:13:31.539Z", "status": "DEACTIVATING", "name": "Ozzy Osbourne", "model": "text-embedding-ada-002", "dimensions": 1536, "filters": [ { "field": "name", "type": "string" }, { "field": "age", "type": "number" } ], "chunkConfig": { "size": 500, "overlap": 20 }, "tableChunkConfig": { "size": 4000 }, "counts": { "docs": 0, } } }
This endpoint updates an index.
Documentation IndexFetch the complete documentation index at: https://docs.getmetal.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.getmetal.io/llms.txt
Use this file to discover all available pages before exploring further.
DEACTIVATING
Show properties