A StoredCompletionsRunDataSource configuration describing a set of filters

interface StoredCompletions {
    created_after?: null | number;
    created_before?: null | number;
    limit?: null | number;
    metadata?: null | Metadata;
    model?: null | string;
    type: "stored_completions";
}

Properties

created_after?: null | number

An optional Unix timestamp to filter items created after this time.

created_before?: null | number

An optional Unix timestamp to filter items created before this time.

limit?: null | number

An optional maximum number of items to return.

metadata?: null | Metadata

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.

Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

model?: null | string

An optional model to filter by (e.g., 'gpt-4o').

type: "stored_completions"

The type of source. Always stored_completions.