/search
GET
/search
const url = 'https://pki.example.com/api/v1/search?query=example&limit=10';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://pki.example.com/api/v1/search?query=example&limit=10' \ --header 'Authorization: Bearer <token>'Global search across CAs, certificates, and domains
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”query
required
string
Search query (minimum 1 character)
limit
integer
Maximum results per category
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
query
string
results
object
cas
Array<object>
object
id
string
type
string
title
string
subtitle
string
status
string
metadata
object
certificates
Array<object>
object
id
string
type
string
title
string
subtitle
string
status
string
metadata
object
domains
Array<object>
object
id
string
type
string
title
string
subtitle
string
status
string
metadata
object
totalCount
integer
Example
{ "results": { "cas": [ { "type": "ca" } ], "certificates": [ { "type": "certificate" } ], "domains": [ { "type": "domain" } ] }}Default Response
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string
Example generated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "message": "example" } ] }}