Docs menu

Functions

Manage functions

Inspect executions, change preferences, disable or delete a function, and understand revision lifecycle and storage.

Roles

ActionWho
Create, edit and read drafts; import traces; view runs and executionsAny workspace member
Prepare previews, optimize, cancel, test evaluation, Try, CompareOwners and admins
Activate, disable and deleteOwners and admins
Add credits by cardWorkspace admins
Redeem a promo codeAny workspace member

Members see An owner or admin can authorize model calls and activate this function. on actions they can't take.

Recent executions

Recent executions lists the latest calls of every kind: Try, Compare and production calls through the alias. Each row shows its purpose, state, latency, amount spent and amount still held. Inspect execution opens the steps that ran.

Change preferences

Use Adjust preferences on an active function to quote a new run with a different priority or targets. The intent, bindings and output contract stay fixed, compatible evidence is reused, and the current alias keeps serving until you activate another revision.

When contract revisions are enabled, editing instructions or evaluation keeps the same Function ID and creates a new draft. The active alias keeps its existing contract until explicit activation. With that feature off, create a separate Function for a changed contract.

Revision lifecycle

  • Measured alternatives expire after 30 days unless explicitly published or activated.
  • Publish for testing makes a revision durable and callable through its pinned alias without switching the active alias. It uses the same eligibility and funding checks as activation.
  • A pinned alias, seldon/function/FUNCTION_ID@REVISION_ID, keeps serving that published or activated revision until you disable or delete the Function.
  • Select a retained run to inspect its exact contract and evidence. Return to latest resumes the current draft; inspecting history does not edit it.

Disable a function

Disable function stops serving and cancels any open runs. Calls return 409 function_disabled. To serve again, activate a revision.

Delete a function

Delete function stops every alias immediately. Private content is purged within 24 hours; backups expire separately. Deletion cannot be undone.

Storage

Each workspace has 5 GiB for drafts, evaluation examples, evidence and execution records. The function page shows current usage. Delete unused functions to release content; callable revisions are protected from age-based cleanup.

A workspace can hold up to 50 functions. See Limits.

Record reference requests

When reference serving and recording are enabled, an owner or admin can serve the original single-call contract and start a bounded recording from Record. Readiness shows measured capacity and deadline evidence, or Not measured when coverage is missing. Starting reference serving does not optimize the call.

Recording requires explicit sampling and retention settings. Zero-data-retention policy blocks it. X-Seldon-Record: off excludes a request, and X-Seldon-Record-Group keeps related examples together. Owners and admins can inspect, exclude or correct examples; members see aggregate counts only.

Choose Use recorded requests for the next comparison. Synthetic top-up is a separate, opt-in choice. Uncorrected reference answers measure agreement, not independent correctness. Recording expiry and deletion remove content and run copies even when an alternative remains active; measured metrics remain visible with an evidence-deleted notice.

Manage functions | Seldon