Overview
POST/persona/provider-templates/{id}/verifypersona

Probe the live provider with a caller-supplied key — never stored — to verify kind/baseUrl speak the claimed contract (admin)

Create a record in verify.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • idpathstring
Request body

application/json · optional

  • apiKeystring

    Used for this one probe request only; not persisted.

  • baseUrloptionalstring

    Optional base_url override for the probe — supply a concrete URL to verify a template whose stored base_url still carries url-var placeholders.

Example
{
  "apiKey": "string",
  "baseUrl": "string"
}
Responses
200

Probe outcome (a failed probe is ok:false, not an error status)

  • okboolean
  • modelsoptionalPersonaServiceModel[]
  • erroroptionalstring
Example
{
  "ok": true,
  "models": [
    "string"
  ],
  "error": "string"
}
400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
403

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X POST "https://api.agenticdeveloperhub.com/persona/provider-templates/{id}/verify" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "apiKey": "string",
  "baseUrl": "string"
}'
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/persona/provider-templates/{id}/verify", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN",
    "Content-Type": "application/json"
  },
  body: "{\n  \"apiKey\": \"string\",\n  \"baseUrl\": \"string\"\n}",
});
const data = await res.json();