profound-logoProfound CMS
⌘K
Admin
Theme
DocsTutorialBlogPhilosophy
DocsTutorialBlogPhilosophy

Hybrid

Collection of Pages with ComponentsTypes of ComponentsSetup server sent events (SSE) content refetchInstall Profound CMS as a proxyCEL Scripting in Template BuilderProject ScaffoldingMedia Library

Headless

Quick startSplit Screen JSON Component Builder with LLMComponent Zod Pull

REST API

REST API OverviewgetConnect your websitegetGET /routesgetGET /routegetGET /blocksgetGET /blocks/with-cel-cachegetGET /blocks/generatedgetGET /componentsgetGET /components/{name}getGET /dataset/{schema_name}getGET /content-changes (SSE)patchPATCH /dataset/{schema_name}postPOST /translationpatchPATCH /translationsgetGET /usagepostPOST /csvpatchPATCH /csv
All Systems Operational
Powered Byprofound-logo
Theme

PATCH /csv

Update fields of an existing CSV source row owned by the caller.

Update fields of an existing csv_sources row owned by the calling user.

Auth: Bearer JWT (WorkOS). The update is scoped to your user (the sub claim), so you can only modify your own CSV sources.

Query parameters

ParamTypeRequiredNotes
iduuidyesThe csv_sources row id.

Request body

{
  "schema_name": "post",
  "spreadsheet_data": [ { "title": "Row 1" } ],
  "status": "ready"
}
FieldTypeRequiredNotes
schema_namestringnoNew schema name.
spreadsheet_dataarraynoReplaces raw_data; sets row_count to the array length.
statusstringnoNew status.

All three are optional, but at least one must be provided.

Response

The full updated row:

{
  "id": "...",
  "user_id": "...",
  "schema_name": "post",
  "file_name": "data.csv",
  "file_url": null,
  "raw_data": [],
  "row_count": 1,
  "status": "ready",
  "error_msg": null,
  "created_at": "2026-06-23T18:34:16Z",
  "updated_at": "2026-06-23T20:36:55Z"
}

Example

curl -X PATCH '{CMS_API_URL}/csv?id=<uuid>' \
  -H 'Authorization: Bearer <workos-jwt>' \
  -H 'Content-Type: application/json' \
  -d '{"status":"ready"}'

Errors

  • 400 β€” no updatable fields provided
  • 401 β€” missing sub claim or invalid JWT
  • 404 β€” no matching row for id + your user
  • 500 β€” update failure
Continue Reading
Previousβ€ΉPOST /csv