curl --request POST \
--url https://api.edenai.run/v3/manage/auth-keys/import requests
url = "https://api.edenai.run/v3/manage/auth-keys/"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.edenai.run/v3/manage/auth-keys/', 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.edenai.run/v3/manage/auth-keys/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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.edenai.run/v3/manage/auth-keys/"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.edenai.run/v3/manage/auth-keys/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.edenai.run/v3/manage/auth-keys/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyPost manageauth keys
POST /v3/manage/auth-keys (manage:mint) — an ISSUER key mints a new WORKER
(manage:read/manage:write) key for its own org; the secret is shown ONCE. This is the
programmatic middle of the service->auth->inference chain: an issuer key (born once from the
owner-authed dashboard) mints short-lived working keys with no human in the loop, which in turn
mint inference keys via POST /manage/keys.
A minted key can NEVER carry manage:mint — an issuer cannot mint another issuer
(no self-propagation); issuer keys are born only from the session-authed, owner-only dashboard
endpoint. Enforced twice: the serializer’s allowed_scopes restricts this endpoint to
read/write, and validate_scopes on the model rejects any mint/worker mix regardless.
curl --request POST \
--url https://api.edenai.run/v3/manage/auth-keys/import requests
url = "https://api.edenai.run/v3/manage/auth-keys/"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.edenai.run/v3/manage/auth-keys/', 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.edenai.run/v3/manage/auth-keys/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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.edenai.run/v3/manage/auth-keys/"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.edenai.run/v3/manage/auth-keys/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.edenai.run/v3/manage/auth-keys/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyResponse
No response body