v4
latestSwagger 2.02026-08-0343714211.7 MBList Public Keys
List Public Keys
Query parameters
User ID. Provide a value of 0 to operate the current session's user.
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are workspace_id, user_id, title or created_at.
If set, return records where the specified field is equal to the supplied value. Valid fields are created_at and workspace_id.
If set, return records where the specified field is greater than the supplied value. Valid fields are created_at.
If set, return records where the specified field is greater than or equal the supplied value. Valid fields are created_at.
If set, return records where the specified field is less than the supplied value. Valid fields are created_at.
If set, return records where the specified field is less than or equal the supplied value. Valid fields are created_at.
Response
A list of PublicKeys objects.
Example response
[
{
"id": 1,
"title": "My public key",
"created_at": "2000-01-01T01:00:00Z",
"expires_at": "2000-01-01T01:00:00Z",
"expired": true,
"fingerprint": "43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8",
"fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
"status": "complete",
"last_login_at": "2000-01-01T01:00:00Z",
"generated_private_key": "example",
"generated_public_key": "example",
"username": "User",
"user_id": 1
}
]