> This page is for Referencia de la API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://signalcore.ai/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://signalcore.ai/docs/_mcp/server.

# Put

PUT https://signalcore.ai/v1/files/{path}
Content-Type: application/octet-stream

Reference: https://signalcore.ai/docs/referencia/archivos/put

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `path` (string, required)

### Query parameters

- `searchable` (boolean, optional, default: false)

### Body (application/octet-stream)

This endpoint expects binary data of type application/octet-stream.

- Binary request body.

## Response

### 200

Successful Response

- `id` (string, required)
- `path` (string, required)
- `media_type` (string, required)
- `size` (integer, required)
- `searchable` (boolean, required)
- `index` (IndexOut, required, nullable) — How far a searchable file's index is: `indexing`, `ready` or `failed`; what to know of it (why it failed, what of it can't be searched); how many of its pages had no text and were read by the model.
- `created_at` (datetime, required)

## Errors

### 422 Files Put Request Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### IndexOut

How far a searchable file's index is: `indexing`, `ready` or `failed`; what to know of it (why it failed, what of it can't be searched); how many of its pages had no text and were read by the model.

- `state` (enum, required)
  - Allowed values: `indexing`, `ready`, `failed`
- `detail` (string, required, nullable)
- `scanned` (integer, required)

### ValidationError

- `loc` (list of ValidationErrorLocItem, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (map from string to any, optional)

### ValidationErrorLocItem

## Examples

**Response**

```json
{
  "id": "string",
  "path": "string",
  "media_type": "string",
  "size": 0,
  "searchable": true,
  "index": {
    "state": "indexing",
    "detail": "string",
    "scanned": 0
  },
  "created_at": "2023-01-01T00:00:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://signalcore.ai/v1/files/%3Apath"

querystring = {"searchable":"false"}

headers = {
    "SignalCore-Org": "string",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/octet-stream"
}

response = requests.put(url, headers=headers, params=querystring)

print(response.json())
```