v1

latestOpenAPI 3.0.32026-08-06138294578.6 KB
Schemas

Upsert Schema Fields

Creates or updates user-defined fields on a schema, matched by field_id.

Fields are matched by field_id. Reusing an existing field_id updates that field; using a new field_id creates a new user-defined field.

This makes the endpoint safe to retry when you are intentionally upserting the same field definitions. It is not a patch-by-position operation.

If some fields succeed and others fail, the endpoint can return a partial success response. Validate the response status and message rather than assuming the whole batch was applied uniformly.

post/api/connections/{connection_id}/schemas/{schema_id}/fields

Path parameters

connection_idstring uuid required

Unique identifier of the connection.

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Unique identifier of the connection.

schema_idstring required

Identifier of the schema the fields belong to.

Example:public.users

Identifier of the schema the fields belong to.

Headers

X-Polytomic-Versionstring

Request body

Response

Accepted