# Nebius Token Factory documentation > Comprehensive Nebius Token Factory documentation: quickstart, API reference, model inference guides, fine-tuning, integrations & examples for seamless LLM deployment. - [Quickstart](https://docs.tokenfactory.nebius.com/quickstart.md): Welcome to Nebius Token Factory - [Switch to Token Factory](https://docs.tokenfactory.nebius.com/switch.md) - [Overview](https://docs.tokenfactory.nebius.com/ai-models-inference/overview.md): Get an inference engine overview - [Overview](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/overview.md) - [Quickstart](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/quickstart.md) - [Quickstart: Deploy via API](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/deploy-api.md) - [Quickstart: Deploy in UI](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/deploy-ui.md): Dedicated endpoints can be deployed and managed through the Token Factory UI, with API workflows also available for automation. - [Control & Data Plane](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/control-data-plane.md) - [Capacity, availability, and service guarantees](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/capacity-and-scaling.md) - [Billing Policy](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/billing-policy.md) - [Lifecycle & Readiness Status](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/lifecycle-and-status.md) - [Operating Dedicated Endpoint](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/operating.md) - [Best Practices](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/best-practice.md) - [Custom model weights](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/custom-weights.md) - [FAQ & Troubleshooting](https://docs.tokenfactory.nebius.com/ai-models-inference/dedicated-endpoints/faq.md) - [Function calling & Tools](https://docs.tokenfactory.nebius.com/ai-models-inference/function-calling.md): Learn how to make models select functions to extend their capabilities - [Structured output & JSON](https://docs.tokenfactory.nebius.com/ai-models-inference/json.md): Learn how to get structured output from our text models - [Rate Limits & Scaling](https://docs.tokenfactory.nebius.com/ai-models-inference/rate-limits.md): Learn how rate limiting of requests works and what are the scaling rules - [UI & Playground](https://docs.tokenfactory.nebius.com/ai-models-inference/playground.md) - [Public Serverless Endpoints](https://docs.tokenfactory.nebius.com/public-serverless.md) - [Inference Observability](https://docs.tokenfactory.nebius.com/ai-models-inference/observability.md) - [Observability API integrations](https://docs.tokenfactory.nebius.com/ai-models-inference/observability-api-integrations.md) - [Overview](https://docs.tokenfactory.nebius.com/post-training/overview.md): Post-training on Nebius Token Factory - [ Dataset formats for fine-tuning](https://docs.tokenfactory.nebius.com/post-training/datasets.md) - [Models for fine-tuning in Nebius Token Factory](https://docs.tokenfactory.nebius.com/post-training/models.md): Supported base models for fine-tuning in Nebius Token Factory, with available context lengths and fine-tuning types (LoRA and full fine-tuning), grouped by provider. - [Supervised Finetuning ](https://docs.tokenfactory.nebius.com/post-training/how-to-fine-tune.md): Fine-tune a base model on your own data using Nebius Token Factory. This guide walks you through creating a job, monitoring it, and retrieving checkpoints via API and Python. - [Custom speculator](https://docs.tokenfactory.nebius.com/post-training/custom-speculator.md) - [Merging LoRA Adapters](https://docs.tokenfactory.nebius.com/post-training/merge-moe-lora-weights.md): When you fine-tune a model with LoRA, inference usually requires loading both the base model and the LoRA adapter. Here we provide a merge script that bakes the LoRA adapters directly into the base weights and produces a standard checkpoint directory. - [Overview](https://docs.tokenfactory.nebius.com/data-lab/overview.md) - [Import Chat Completions](https://docs.tokenfactory.nebius.com/data-lab/chat-completions.md) - [Fine-tuning](https://docs.tokenfactory.nebius.com/data-lab/fine-tuning.md) - [Data Processing](https://docs.tokenfactory.nebius.com/data-lab/data-processing.md) - [Datasets](https://docs.tokenfactory.nebius.com/data-lab/datasets.md) - [Sandboxes overview](https://docs.tokenfactory.nebius.com/sandboxes/overview.md): Give applications and AI agents an isolated environment to execute code, evaluate results, and work with files. - [Set up access](https://docs.tokenfactory.nebius.com/sandboxes/start/set-up-access.md): Create credentials, select a project, verify Sandboxes access, and find a base image. - [Python quickstart](https://docs.tokenfactory.nebius.com/sandboxes/start/python-quickstart.md): Create a Python project, save a filesystem change, and reuse it in a later operation. - [CLI quickstart](https://docs.tokenfactory.nebius.com/sandboxes/start/cli-quickstart.md): Install the Sandboxes CLI, configure a profile, and reuse saved filesystem state. - [Choose an interface](https://docs.tokenfactory.nebius.com/sandboxes/start/choose-an-interface.md): Choose between the Python SDK, REST API, CLI, and MCP for a Sandboxes workflow. - [Execution lifecycle](https://docs.tokenfactory.nebius.com/sandboxes/concepts/execution-lifecycle.md): Understand operations, processes, client waits, event streams, and saved images. - [Images, checkpoints, and branches](https://docs.tokenfactory.nebius.com/sandboxes/concepts/images-checkpoints-and-branches.md): Save filesystem state deliberately and start independent work from immutable images. - [Sessions and execution modes](https://docs.tokenfactory.nebius.com/sandboxes/concepts/sessions-and-execution-modes.md): Distinguish client workflow state from operations and live processes. - [Run commands and handle results](https://docs.tokenfactory.nebius.com/sandboxes/guides/run-commands-and-results.md): Choose command or shell execution, make persistence explicit, and interpret operation and process results. - [Stream output and events](https://docs.tokenfactory.nebius.com/sandboxes/guides/stream-output-and-events.md): Observe stdout, stderr, and operation events over SSE, resume after disconnect, and verify the final result. - [Run subprocesses and send input](https://docs.tokenfactory.nebius.com/sandboxes/guides/run-subprocesses-and-send-input.md): Start an additional process inside an active operation, exchange input, observe output, and end it deliberately. - [Prepare and reuse environments](https://docs.tokenfactory.nebius.com/sandboxes/guides/prepare-and-reuse-environments.md): Create a reusable filesystem image from setup commands, OCI import, or the supported CLI Dockerfile workflow. - [Work with files and artifacts](https://docs.tokenfactory.nebius.com/sandboxes/guides/work-with-files-and-artifacts.md): Inject files, retain generated artifacts, inspect images, and download bytes after execution. - [Branch, compare, and recover](https://docs.tokenfactory.nebius.com/sandboxes/guides/branch-compare-and-recover.md): Run alternatives from one image, select a verified result, and recover from a known-good checkpoint. - [Configure networking and secrets](https://docs.tokenfactory.nebius.com/sandboxes/guides/configure-networking-and-secrets.md): Disable the guest network where supported and keep credentials out of retained state and output. - [Run concurrent workloads](https://docs.tokenfactory.nebius.com/sandboxes/guides/run-concurrent-workloads.md): Bound parallel operations, correlate state, classify failures, and cancel only work owned by the batch. - [Sandboxes cookbook](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/index.md): Complete Sandboxes workflows with explicit state, expected outcomes, and failure handling. - [Prepare once, reuse safely](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/prepare-once-reuse-safely.md): Save one prepared filesystem image and reuse it in independent later operations. - [Stream a build or test run](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/stream-a-build-or-test-run.md): Run a deterministic test suite, display stdout and stderr over SSE, resume after disconnect, and verify both success and failure. - [Interact with a process during an operation](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/interact-with-a-process.md): Spawn a child in an active operation, send two inputs and EOF, test signals and parent finalization, and clean up on failure. - [Try two coding fixes and keep the passing branch](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/try-two-coding-fixes.md): Apply two isolated patches to failing deterministic tests, select the passing image, and continue from it. - [Generate and download a binary artifact](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/generate-and-download-binary-artifact.md): Produce a deterministic binary file, retain it, download it, and verify exact bytes locally. - [Build and refresh a reusable custom environment](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/build-reusable-custom-environment.md): Build the supported Dockerfile subset, resolve the immutable UUID, run twice, and refresh after a source change. - [Prepare inputs, then verify with networking disabled](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/verify-with-networking-disabled.md): Save prepared inputs, verify them without a guest network interface, and inspect both operations using Python. - [Run a bounded evaluation batch](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/run-bounded-evaluation-batch.md): Correlate item, operation, and image IDs; classify outcomes; and cancel only work owned by the batch. - [Recover from a known-good image](https://docs.tokenfactory.nebius.com/sandboxes/cookbook/recover-from-known-good-image.md): Diagnose a deliberate command failure and retry corrected work from the recorded checkpoint. - [Troubleshooting](https://docs.tokenfactory.nebius.com/sandboxes/operate/troubleshooting.md): Diagnose access, execution, output, state, subprocess, network, and concurrency failures. - [Limits, retention, and usage](https://docs.tokenfactory.nebius.com/sandboxes/operate/limits-retention-and-usage.md): Plan for service limits and retention, and inspect the fields available to your account. - [Security and data handling](https://docs.tokenfactory.nebius.com/sandboxes/operate/security-and-data-handling.md): Protect data and credentials across uploads, output, images, networking, and local downloads. - [Update images and clients](https://docs.tokenfactory.nebius.com/sandboxes/operate/update-images-and-clients.md): Refresh prepared images, pin immutable inputs, and validate client upgrades. - [Reference map and compatibility](https://docs.tokenfactory.nebius.com/sandboxes/reference/index.md): Find REST endpoints, Python methods, CLI commands, and MCP tools for your workflow. - [Sandboxes for SWE agents](https://docs.tokenfactory.nebius.com/sandboxes/swe-agents.md) - [Overview](https://docs.tokenfactory.nebius.com/sandboxes/sdk/index.md) - [Getting Started](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/getting-started.md) - [Working with Images](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/images.md) - [Running Commands](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/running-commands.md) - [Branching Workflows](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/branching.md) - [API Reference](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/index.md) - [Clients](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/client.md) - [Images Manager](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/images.md) - [Files Manager](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/files.md) - [Images](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/image.md) - [Sessions](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/session.md) - [Image files/directories](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/image_fs.md) - [subprocess](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/subprocess.md) - [OCIReference](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/reference/oci.md) - [Integrations](https://docs.tokenfactory.nebius.com/sandboxes/sdk/integrations/index.md) - [Mini-SWE-Agent Integration](https://docs.tokenfactory.nebius.com/sandboxes/sdk/integrations/mini-swe-agent.md) - [LangChain Integration](https://docs.tokenfactory.nebius.com/sandboxes/sdk/integrations/langchain.md) - [Overview](https://docs.tokenfactory.nebius.com/sandboxes/cli/index.md) - [Tutorial](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/index.md) - [Install & Authenticate](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/installation.md) - [Your First Sandbox](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/first-steps.md) - [Interactive Shell](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/shell.md) - [Sessions, Branches & Rollback](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/sessions.md) - [Working with Files](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/files.md) - [Images & Tags](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/images.md) - [Building from a Dockerfile](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/build.md) - [Scripting & Automation](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/workflows.md) - [Configuration & Profiles](https://docs.tokenfactory.nebius.com/sandboxes/cli/tutorial/configuration.md) - [Command Reference](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/index.md) - [auth - Configure credentials and profiles](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/auth.md) - [use - Choose an image for the session](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/use.md) - [run - Execute a command in the sandbox](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/run.md) - [build - Build an image from a Dockerfile](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/build.md) - [images - List and import images](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/images.md) - [tag - Tag or untag an image](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/tag.md) - [operation - Manage operations](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/operation.md) - [ps - List activity](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/ps.md) - [show - Inspect an operation](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/show.md) - [kill - Cancel operations](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/kill.md) - [ls - List files in the image](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/ls.md) - [cat - Show file content from the image](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/cat.md) - [grep - Search file contents in the image](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/grep.md) - [cp - Download a file from the image](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/cp.md) - [cd - Change session working directory](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/cd.md) - [env - Manage session environment variables](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/env.md) - [file - Stage file edits for the next run](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/file.md) - [session - Manage sessions, branches, history](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/session.md) - [shell - Interactive REPL](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/shell.md) - [skill - Install agent skills](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/skill.md) - [agent - Coding-agent manual](https://docs.tokenfactory.nebius.com/sandboxes/cli/commands/agent.md) - [Overview](https://docs.tokenfactory.nebius.com/sandboxes/mcp/index.md) - [Quickstart](https://docs.tokenfactory.nebius.com/sandboxes/mcp/quickstart.md) - [Resources](https://docs.tokenfactory.nebius.com/sandboxes/mcp/resources.md) - [Patterns](https://docs.tokenfactory.nebius.com/sandboxes/mcp/patterns.md) - [Cheatsheet](https://docs.tokenfactory.nebius.com/sandboxes/mcp/cheatsheet.md) - [Reporting Security Issues](https://docs.tokenfactory.nebius.com/sandboxes/mcp/security.md) - [Concepts](https://docs.tokenfactory.nebius.com/sandboxes/mcp/concepts/index.md) - [Core Concepts](https://docs.tokenfactory.nebius.com/sandboxes/mcp/concepts/core.md) - [Workflows](https://docs.tokenfactory.nebius.com/sandboxes/mcp/concepts/workflows.md) - [Tools Reference](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/index.md) - [run](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/run.md) - [rsync](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/rsync.md) - [import_image](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/import_image.md) - [registry_token_obtain](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/registry_token_obtain.md) - [registry_auth](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/registry_auth.md) - [list_images](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/list_images.md) - [get_image](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/get_image.md) - [set_tag](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/set_tag.md) - [upload](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/upload.md) - [download](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/download.md) - [list_files](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/list_files.md) - [read_file](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/read_file.md) - [grep](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/grep.md) - [get_operation](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/get_operation.md) - [list_operations](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/list_operations.md) - [wait_operations](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/wait_operations.md) - [cancel_operation](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/cancel_operation.md) - [get_guide](https://docs.tokenfactory.nebius.com/sandboxes/mcp/tools/get_guide.md) - [Prompts Reference](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/index.md) - [prepare-environment](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/prepare-environment.md) - [run-python](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/run-python.md) - [run-shell](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/run-shell.md) - [sync-and-run](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/sync-and-run.md) - [install-packages](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/install-packages.md) - [parallel-tasks](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/parallel-tasks.md) - [build-project](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/build-project.md) - [debug-failure](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/debug-failure.md) - [inspect-image](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/inspect-image.md) - [multi-stage-build](https://docs.tokenfactory.nebius.com/sandboxes/mcp/prompts/multi-stage-build.md) - [Integration](https://docs.tokenfactory.nebius.com/sandboxes/mcp/integration/index.md) - [Configuration](https://docs.tokenfactory.nebius.com/sandboxes/mcp/integration/configuration.md) - [Troubleshooting](https://docs.tokenfactory.nebius.com/sandboxes/mcp/integration/troubleshooting.md) - [Reference](https://docs.tokenfactory.nebius.com/sandboxes/mcp/reference/index.md) - [Glossary](https://docs.tokenfactory.nebius.com/sandboxes/mcp/reference/glossary.md) - [Overview](https://docs.tokenfactory.nebius.com/team-access/overview.md): Collaborate securely with Team Management & Role-Based Access - [Groups & Access management](https://docs.tokenfactory.nebius.com/team-access/groups.md): Learn about access management on different levels - [User Invitations](https://docs.tokenfactory.nebius.com/team-access/invitations.md): Learn how to invite new users to Organization and add users to Projects - [Organizations and Projects](https://docs.tokenfactory.nebius.com/team-access/org-projects.md): Learn how to work with Organizations and Projects in Nebius Token Factory - [Configure Single Sign-On](https://docs.tokenfactory.nebius.com/team-access/sso.md): Learn how to configure single sign-on - [Billing & Consumption](https://docs.tokenfactory.nebius.com/other-capabilities/billing-new.md) - [Prompt presets](https://docs.tokenfactory.nebius.com/utilities/prompt-presets.md): Learn how to save your prompts and reuse them - [Notifications and Subscription](https://docs.tokenfactory.nebius.com/notifications-and-subscription.md) - [Overview](https://docs.tokenfactory.nebius.com/integrations/overview.md): Nebius Token Factory third-party integrations for inference - [Model Deprecations: August 2026](https://docs.tokenfactory.nebius.com/august-2026-deprecation-notice.md): Models soon leaving Token Factory Serverless with recommended migration paths. - [Model Deprecations: June 2026](https://docs.tokenfactory.nebius.com/june-2026-deprecation-notice.md): Models removed from Token Factory Serverless in June 2026. - [Introduction](https://docs.tokenfactory.nebius.com/api-reference/introduction.md) - [Overview](https://docs.tokenfactory.nebius.com/api-reference/examples/overview.md): Nebius Token Factory offers an OpenAI-compatible API for inference and fine-tuning. - [Text generation](https://docs.tokenfactory.nebius.com/api-reference/examples/text-generation.md) - [Vision capabilities](https://docs.tokenfactory.nebius.com/api-reference/examples/vision-capabilities.md) - [Text generation for code autocomplete](https://docs.tokenfactory.nebius.com/api-reference/examples/text-generation-for-code-autocomplete.md) - [List of models](https://docs.tokenfactory.nebius.com/api-reference/examples/list-of-models.md) - [Image generation](https://docs.tokenfactory.nebius.com/api-reference/examples/image-generation.md) - [Create embeddings](https://docs.tokenfactory.nebius.com/api-reference/examples/create-embeddings.md) - [Files](https://docs.tokenfactory.nebius.com/api-reference/examples/files.md) - [Create completion](https://docs.tokenfactory.nebius.com/api-reference/inference/create-completion.md): Creates a model completion for the given input prompt. - [Create chat completion](https://docs.tokenfactory.nebius.com/api-reference/inference/create-chat-completion.md): Creates a model response for the given chat conversation. - [Create embeddings](https://docs.tokenfactory.nebius.com/api-reference/inference/create-embeddings.md): Creates a model response for the given text. - [Rerank documents](https://docs.tokenfactory.nebius.com/api-reference/inference/rerank-documents.md): Reranks documents based on their relevance to a query. - [Create a response](https://docs.tokenfactory.nebius.com/api-reference/inference/create-a-response.md): Creates a model response for a given input - [List models](https://docs.tokenfactory.nebius.com/api-reference/models/list-models.md): Lists the currently available models, and provides basic information about each one such as the owner and availability. - [List user files](https://docs.tokenfactory.nebius.com/api-reference/files/list-user-files.md) - [Upload file](https://docs.tokenfactory.nebius.com/api-reference/files/upload-file.md) - [Retrieve file](https://docs.tokenfactory.nebius.com/api-reference/files/retrieve-file.md) - [Delete file](https://docs.tokenfactory.nebius.com/api-reference/files/delete-file.md) - [Retrieve file content](https://docs.tokenfactory.nebius.com/api-reference/files/retrieve-file-content.md) - [Returns URL with link to download file content](https://docs.tokenfactory.nebius.com/api-reference/files/returns-url-with-link-to-download-file-content.md) - [List fine-tuning jobs](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/list-fine-tuning-jobs.md): Lists all fine-tuning jobs. - [Create a fine-tuning job](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/create-a-fine-tuning-job.md): Creates a job that fine-tunes a specified model based on a given dataset. - [Get fine-tuning job info](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/get-fine-tuning-job-info.md): Get info about a fine-tuning job. - [Cancel fine-tuning job](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/cancel-fine-tuning-job.md): Immediately cancel a fine-tuning job. - [List fine-tuning events](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/list-fine-tuning-events.md): Get status updates for a fine-tuning job. - [List fine-tuning checkpoints](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/list-fine-tuning-checkpoints.md): Get training checkpoints for a fine-tuning job. - [Get fine-tuning checkpoint](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/get-fine-tuning-checkpoint.md): Get details about a specific checkpoint from a fine-tuning job. - [List spec-draft trainable models](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/list-spec-draft-trainable-models.md): Lists Hugging Face models supported for spec-draft training with their parameter counts, maximum context lengths, metadata, and billing prices. - [List spec-draft trainable models](https://docs.tokenfactory.nebius.com/api-reference/fine-tuning/list-spec-draft-trainable-models-1.md): Lists Hugging Face models supported for spec-draft training with their parameter counts, maximum context lengths, metadata, and billing prices. - [List Dedicated Endpoint Templates](https://docs.tokenfactory.nebius.com/api-reference/dedicated-endpoints/list-dedicated-endpoint-templates.md) - [List Dedicated Endpoints](https://docs.tokenfactory.nebius.com/api-reference/dedicated-endpoints/list-dedicated-endpoints.md) - [Create Dedicated Endpoint](https://docs.tokenfactory.nebius.com/api-reference/dedicated-endpoints/create-dedicated-endpoint.md) - [Delete Dedicated Endpoint](https://docs.tokenfactory.nebius.com/api-reference/dedicated-endpoints/delete-dedicated-endpoint.md) - [Update Dedicated Endpoint](https://docs.tokenfactory.nebius.com/api-reference/dedicated-endpoints/update-dedicated-endpoint.md) - [Get a list of datasets in project](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-a-list-of-datasets-in-project.md): List datasets - [Create a dataset by uploading data](https://docs.tokenfactory.nebius.com/api-reference/datasets/create-a-dataset-by-uploading-data.md): Create a dataset - [Get dataset info](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-dataset-info.md): Get dataset info - [Delete a dataset](https://docs.tokenfactory.nebius.com/api-reference/datasets/delete-a-dataset.md): Delete a dataset - [Patch dataset info](https://docs.tokenfactory.nebius.com/api-reference/datasets/patch-dataset-info.md): Partially update dataset info - [Get dataset query template](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-dataset-query-template.md): Get dataset query template - [Read dataset content](https://docs.tokenfactory.nebius.com/api-reference/datasets/read-dataset-content.md): Get dataset content - [Read dataset content as csv or jsonl](https://docs.tokenfactory.nebius.com/api-reference/datasets/read-dataset-content-as-csv-or-jsonl.md): Export dataset content - [Create a new multipart upload for a dataset](https://docs.tokenfactory.nebius.com/api-reference/datasets/create-a-new-multipart-upload-for-a-dataset.md): Create a new upload - [List parts of a multipart upload](https://docs.tokenfactory.nebius.com/api-reference/datasets/list-parts-of-a-multipart-upload.md): List upload parts - [Upload a new part for a multipart upload](https://docs.tokenfactory.nebius.com/api-reference/datasets/upload-a-new-part-for-a-multipart-upload.md): Upload a new part - [Complete a multipart upload, create a new dataset](https://docs.tokenfactory.nebius.com/api-reference/datasets/complete-a-multipart-upload-create-a-new-dataset.md): Complete a multipart upload - [Get information about a multipart upload](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-information-about-a-multipart-upload.md): Get upload information - [Cancel a multipart upload](https://docs.tokenfactory.nebius.com/api-reference/datasets/cancel-a-multipart-upload.md): Cancel a multipart upload - [Filter operations by attributes](https://docs.tokenfactory.nebius.com/api-reference/datasets/filter-operations-by-attributes.md): List operations - [Run operation](https://docs.tokenfactory.nebius.com/api-reference/datasets/run-operation.md): Create an operation - [Get operation info by id](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-operation-info-by-id.md): Get operation info - [Stop operation by id](https://docs.tokenfactory.nebius.com/api-reference/datasets/stop-operation-by-id.md): Cancel operation - [Get operation results](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-operation-results.md): Get checkpoints for a fine-tuning operation or the output file id for a dataset-to-file operation. - [Get operation errors](https://docs.tokenfactory.nebius.com/api-reference/datasets/get-operation-errors.md): Get errors for a given failed operation. - [List publicly available images](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/images/list-publicly-available-images.md): Returns a list of all publicly available container images. - [Remove tags from an image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/images/remove-tags-from-an-image.md): Removes a tag (or all tags) from an image. - [Add a tag to an image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/images/add-a-tag-to-an-image.md): Adds a tag to an image. Tags are unique per namespace; if the requested tag is already assigned to another image, it will be moved to this image. - [Import a container image from a registry](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/images/import-a-container-image-from-a-registry.md): Imports the OCI image filesystem content of from a specified registry. - [List uploaded files for the current namespace](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/files/list-uploaded-files-for-the-current-namespace.md): Returns a paginated list of uploaded files for the current namespace. - [Upload a file to the server. the body must be a file content.](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/files/upload-a-file-to-the-server-the-body-must-be-a-file-content.md): Uploads a file to the server. The body must contain the file content. - [Get file info by SHA256](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/files/get-file-info-by-sha256.md): Returns file info (uuid, sha256, created_at, updated_at). - [Check if a file exists for the current namespace](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/files/check-if-a-file-exists-for-the-current-namespace.md): Returns 200 if the file is uploaded by the current namespace, otherwise 404. - [Spawn a new container instance](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/instances/spawn-a-new-container-instance.md): Creates and runs a new execution instance with the specified configuration. Requires a valid `Authorization` header. - [List operations](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operations/list-operations.md): Returns a list of running and completed operations - [Get an operation status](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operations/get-an-operation-status.md): Returns the status of an operation. - [Cancel an operation](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operations/cancel-an-operation.md): Cancels an operation - [Stream the operation event log via Server-Sent Events](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operations/stream-the-operation-event-log-via-server-sent-events.md): Always returns `text/event-stream` (SSE) on success. The body is a sequence of three kinds of lines (per RFC W3C SSE), each terminated by `\n\n`: - [Spawn an additional subprocess inside a running instance](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operation/spawn-an-additional-subprocess-inside-a-running-instance.md): Starts a new process inside the VM that already hosts the named operation. Distinct from `POST /instances`, which spins up a VM: this endpoint requires a running operation (EXECUTING or ASSIGNED) and reuses the existing VM. - [Result of one subprocess, reconstructed from its events](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operation/result-of-one-subprocess-reconstructed-from-its-events.md): Returns an `InstanceResult` for `spid` — the same shape as the parent operation's `metadata.result` — folded from the subprocess's event log (spawn / stdout / stderr / exit). Works for running and terminal operations alike. While the process is still running, `state.exit_code` and `state.signal` ar… - [Kill one subprocess](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operation/kill-one-subprocess.md): Sends a signal to the process group of `spid` inside the running instance. Without the `signal` parameter the group gets SIGKILL. Termination is observable, not returned: the `exit` event lands in the event log and `GET /operations/{operationId}/subprocesses/{spid}` reports the terminal `state` (`… - [Write to a subprocess's stdin and/or close it](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/operation/write-to-a-subprocesss-stdin-andor-close-it.md): Writes a chunk to the stdin of a live process inside the running instance — `spid=1` targets the main process, `≥2` the exec'd children. Requires the process to have been started with `stdin.close=false`; otherwise its pipe is already at EOF and the call returns 409. - [Redirect to /inspect/](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/redirect-to-inspect.md): Redirects to /inspect/ with a trailing slash - [Redirect to /inspect/{imageUUID}/](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/redirect-to-inspect-.md): Redirects to /inspect/{imageUUID}/ with a trailing slash - [Find image by tag](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/find-image-by-tag.md): Redirects to the image inspection endpoint for the specified tag - [Inspect an image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/inspect-an-image.md): Returns image metadata - [Download a file from image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/download-a-file-from-image.md): Returns file content - [Check if a file exists in image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/check-if-a-file-exists-in-image.md): Checks if a file exists in the specified image without returning the file content - [Download a file or a directory from image as tar archive](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/download-a-file-or-a-directory-from-image-as-tar-archive.md): Streams the specified path inside the image root filesystem as a POSIX PAX tar archive. A directory becomes the archive root; a regular file becomes a single-entry archive. The response is chunked; total size is not known upfront. Served as an attachment, `filename` is the path with `/` replaced by… - [Check if a path can be archived from image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/check-if-a-path-can-be-archived-from-image.md): Checks if a file or a directory exists in the specified image without streaming the archive - [List files in image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/list-files-in-image.md): Returns files list - [Search file contents in image](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/inspect/search-file-contents-in-image.md): Regex content search inside the image's root filesystem, powered by ripgrep. - [Get current token information](https://docs.tokenfactory.nebius.com/api-reference/sandboxes/auth/get-current-token-information.md): Returns information about the current authentication token, including the token UUID, expiration time, and a map of all known permissions with their granted status. - [Legal Quick Guide](https://docs.tokenfactory.nebius.com/legal/legal-quick-guide.md) - [Nebius Token Factory Cookbook](https://docs.tokenfactory.nebius.com/cookbook/overview.md): Examples and recipes to use with Token Factory ## OpenAPI Specs - [openapi](https://api.tokenfactory.nebius.com/openapi.json) - [api](https://eu-north.nebius.computer/static/api.yaml) ## Optional - [LinkedIn](https://www.linkedin.com/company/nebius/) - [Discord Community](https://discord.com/invite/WJ2DUQRz4m) - [X](https://x.com/nebiustf)