Attest custom
Attest custom
Add custom attestation to a trail with an optional attachment file.
POST
Attest custom
Documentation Index
Fetch the complete documentation index at: https://docs.kosli.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Attestation data in JSON format
Example:
{
"attestation_data": { "key": "value" },
"attestation_name": "custom",
"git_commit_info": {
"author": "Jon Smith <jon@smith.com>",
"branch": "main",
"message": "adding glorious commit",
"sha1": "ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6",
"timestamp": 1750923680,
"url": "https://github.com/org/repo/commit/ae08fc6a5c963ae8dfaa0c27d8e5de9980d433b6"
},
"type_name": "custom_type",
"user_data": {}
}
Optional attachment file (max size: 10MB)
Response
Creation Success
The response is of type string.
Last modified on May 26, 2026