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

# Upstream

The upstream batch deletion outcome; omitted when no provider was assigned.

## Example Usage

```typescript theme={null}
import { Upstream } from "@openrouter/sdk/models";

let value: Upstream = {
  provider: "OpenAI",
  status: "deleted",
};
```

## Fields

| Field      | Type                                                              | Required             | Description                                                                                                                                                                                               | Example |
| ---------- | ----------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `provider` | *string*                                                          | :heavy\_check\_mark: | The provider name stored on the batch.                                                                                                                                                                    | OpenAI  |
| `status`   | [models.BatchDeletionOutcome](../models/batchdeletionoutcome.mdx) | :heavy\_check\_mark: | Outcome for one deletion target: `deleted` (removed), `unsupported` (the provider has no batch-delete API; supported file cleanup still runs), or `not_applicable` (the batch never reached that target). | deleted |
