Harbor Sessions

Register Harbor Session

Changed on

Registers a service-attested MCP transport session for a scoped Harbor credential.

post/api/harbor/sessions

Request

  • Base URL
    https://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

client_namestring

MCP-observed client name

client_versionstring

MCP-observed client version

external_run_idstring

Optional client-supplied run correlation value

Response

OK

Example response

{
  "data": {
    "session_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
  }
}

Changes

    • breaking

      the response's property type changed from object to 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 property allOf list for the response status

    • info

      endpoint added