# Create knowledge indexer

Source: <https://everruns.com/docs/api/operations/create_knowledge_indexer/>

[Docs](https://everruns.com/docs/)/[API reference](https://everruns.com/docs/api/)/[Knowledge & memory](https://everruns.com/docs/api/groups/knowledge-memory/)/Create knowledge indexer

# Create knowledge indexer

Preview

Give agents persistent memory and versioned file collections. Manage sources, files and optional search indexes.

Public APIEverruns Cloud and self-hosted Platform

POST`/v1/knowledge-indexers`

See [authentication](https://everruns.com/docs/sre/runbooks/authentication/) for credentials and permissions.

## Request Bodyrequired

Media typeapplication/json

An organization Turbopuffer account referencing an existing service credential.

object

**credential_binding_id**

required

Active organization-service credential binding; never a plaintext API key.

string format: uuid

**endpoint**

required

HTTPS regional Turbopuffer API endpoint; embedded credentials are forbidden.

string

**name**

required

Display name for the organization search account.

string

### Example generated

```json
{
  "credential_binding_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
  "endpoint": "example",
  "name": "example"
}
```

## Responses

200Configured search account

### 200

Configured search account

Media typeapplication/json

### Example generated

```json
example
```

FetchcURL

Request

```js
const url = 'https://app.everruns.com/api/v1/knowledge-indexers';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"credential_binding_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","endpoint":"example","name":"example"}'
};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

Request

```sh
curl --request POST \
  --url https://app.everruns.com/api/v1/knowledge-indexers \
  --header 'Content-Type: application/json' \
  --data '{ "credential_binding_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "endpoint": "example", "name": "example" }'
```

Additional language examples require JavaScript. The default request example is available above.

200

200 · Configured search account

No response body example is declared for this status.

## Matching endpoints