JavaScript
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const apiKeys = await client.apiKeys.list();
console.log(apiKeys);curl https://api.morphik.ai/api-keys \
-H "Authorization: Bearer $MORPHIK_API_KEY"{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}models
List Api Keys
List all configured API keys (sanitized).
GET
/
api-keys
JavaScript
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const apiKeys = await client.apiKeys.list();
console.log(apiKeys);curl https://api.morphik.ai/api-keys \
-H "Authorization: Bearer $MORPHIK_API_KEY"{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?

