Create Harbor
Changed onCreates a managed or customer-managed Harbor in the caller's current organization.
generate_api_key defaults to true. Polytomic returns a new plaintext credential only in this response. Set it to false to create the Harbor without a credential.
For customer_managed, backing_connection_id must identify a queryable Connection that your credential can access.
Managed Harbors return with status: provisioning while Polytomic sets up their storage in the background. Poll GET /api/harbors/{harbor_id} until the status is ready before adding sources or querying data. If provisioning fails, the status is provisioning_failed and Polytomic retries automatically.
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Headers
Request body
Example request
{
"backing_connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"backing_mode": "managed",
"description": "Revenue, pipeline, and renewal data",
"generate_api_key": true,
"name": "Revenue Operations"
}Response
OK
Example response
{
"data": {
"api_key": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"mode": "profile"
},
"harbor": {
"backing_connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"backing_mode": "managed",
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"mcp_server_url": "https://mcp.polytomic.com/mcp/harbor/revenue_operations",
"name": "Revenue Operations",
"organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"status": "provisioning"
}
}
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking
- breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added to the
/response propertyallOflist for the response status - info
added to the
/response propertyallOflist for the response status
- breaking