Get the Ephemeral JWKS
curl --request GET \
--url https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"keys": [
{
"kty": "<string>",
"use": "<string>",
"alg": "<string>",
"kid": "<string>",
"n": "<string>",
"e": "<string>"
}
]
}Ephemeral Keys
Get the Ephemeral JWKS
Fetch the public JSON Web Key Set used to sign Ephemeral Keys, so any verifier can validate a gr_ek_ token’s signature offline.
GET
/
platform
/
.well-known
/
ephemeral-jwks.json
Get the Ephemeral JWKS
curl --request GET \
--url https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"keys": [
{
"kty": "<string>",
"use": "<string>",
"alg": "<string>",
"kid": "<string>",
"n": "<string>",
"e": "<string>"
}
]
}Credential
None (public)
Processing
Realtime
gr_ek_… token’s signature offline, without a round-trip to the control plane. Keys are identified by kid; up to two are active at once to allow zero-downtime rotation.
This endpoint is public and requires no authentication.
This is a dedicated key set for Ephemeral Keys. It is unrelated to any other GoldRush signing key.
Endpoint
GET https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json
Request
No parameters, no authentication.Example
curl "https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json"
const response = await fetch(
"https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json",
);
const jwks = await response.json();
import requests
response = requests.get(
"https://api.covalenthq.com/platform/.well-known/ephemeral-jwks.json",
)
response.raise_for_status()
jwks = response.json()
Response
200 OK
{
"keys": [
{
"kty": "RSA",
"use": "sig",
"alg": "RS256",
"kid": "ek-2026-08a",
"n": "…",
"e": "AQAB"
}
]
}
Field descriptions
object[]
The set of active public signing keys. Standard JWK fields.
Show keys[]
Show keys[]
Usage
- Cache the response and reuse it across verifications - it changes only on key rotation.
- Select the key whose
kidmatches thekidin the token’s JWT header (not its claims), then verify the RS256 signature. - Refetch when you encounter an unknown
kid- that signals a rotation. Keeping two keys active at once means in-flight tokens signed by the old key stay valid during the overlap.
Common errors
This endpoint is public and static; it does not return auth errors. A non-200 response indicates a transient outage - retry with backoff.