> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration reference

> SDK and CLI configuration values, Play input limits, and trigger bindings.

[CLI commands, arguments, and options](https://deepline.com/docs/cli-concepts.md) are generated from the CLI.

## Config

| Name | Use |
| - | - |
| `DEEPLINE_API_KEY` | Org API key |
| `DEEPLINE_HOST_URL` | Deepline host override |
| `.env.deepline` | Per-folder file containing only `DEEPLINE_HOST_URL` and `DEEPLINE_API_KEY` |

For automation, save `DEEPLINE_HOST_URL` and `DEEPLINE_API_KEY` in the folder's `.env.deepline`.
Run `deepline ...` commands from that folder.

## Input size limits

| Input size | Behavior |
| - | - |
| Up to 100 KB | Stored inline in coordinator retry state |
| 100 KB to 1 MiB | Stored as a short-lived artifact-backed retry payload |
| Over 1 MiB | The API rejects the input. Use staged files or `deepline.csv` inputs. |

Play input should contain parameters, filters, and file references.
Pass large tables, lead lists, research corpora, and documents through a file path.
Read the file inside the Play with `deepline.csv(path)` or the appropriate file reader.

## Bindings

Triggers and limits go in `export const config = { ... }`, once, at the top of the play:

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import deepline from 'deepline';

export const config = {
  webhook: {},
  cron: { schedule: '0 9 * * *', timezone: 'America/New_York' },
  billing: { maxCreditsPerRun: 25 },
};

export default async function () {
  return { ok: true };
}
```

## Common fixes

| Symptom | Try |
| - | - |
| Missing API key | `deepline setup` or add `DEEPLINE_API_KEY` to `.env.deepline` |
| Wrong org | `deepline auth status` |
| Play syntax fails | `deepline plays check <file>` |
| Prebuilt called as a tool | Use `deepline plays run` or `deepline.runPlay` |
| Background job used wrong org | Run from the folder with the correct `.env.deepline` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.