---
title: "Paste Content"
method: POST
path: "/v1/projects/{project_id}/data/paste"
tags: ["data-input"]
---

# Paste Content

`POST /v1/projects/{project_id}/data/paste`

Accept pasted/raw text content.

User can paste CSV, JSON, or any text data directly.

## Path parameters

- `project_id` string, required

## Request body

- PasteRequest — Request with pasted/raw text content.
  - `source_name` string, nullable — Name/description of the data source
  - `metadata` object — Additional metadata
  - `content` string, required — Raw content to process
  - `format_hint` string, nullable — Hint about the format (csv, json, etc.)

## Response `200`

Successful Response

- DataInputResponse — Response after data input is accepted.
  - `input_id` string, required — Unique identifier for this input
  - `input_type` string, required — Type of input (file, url, paste, webhook)
  - `source_name` string, nullable — Name of the data source
  - `detected_format` string, nullable — Detected format (if available)
  - `size_bytes` integer, required — Size of the input in bytes
  - `preview` object, nullable — Preview of the data
  - `status` string — Processing status
  - `created_at` string, date-time

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
