Harbor Sessions
Register Harbor Session
Changed onRegisters a service-attested MCP transport session for a scoped Harbor credential.
post/api/harbor/sessions
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Headers
X-Polytomic-Versionstring
X-Polytomic-MCP-Key-IDstring
ID of the key that signed the attestation
X-Polytomic-MCP-Timestampinteger
Unix time, in seconds, when the attestation was signed
X-Polytomic-MCP-Noncestring
Single-use value of at least 16 characters included in the signature
X-Polytomic-MCP-Signaturestring
Attestation signature
X-Polytomic-Activity-Request-IDstring
New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.
Request body
Response
OK
Example response
{
"data": {
"session_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
}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 - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking
- info
endpoint added
- info