30 years of publishing experience · A network of 300+ owned media websites
Home · Developers · A2A agent
Developers

A2A agent

Agent Card: https://mediakit.uk/.well-known/agent-card.json · endpoint https://mediakit.uk/a2a (JSON-RPC 2.0, A2A 0.3.0). Methods: message/send, tasks/get, tasks/cancel.

Invoke a skill

curl -X POST 'https://mediakit.uk/a2a' -H 'Content-Type: application/json' -H 'Authorization: Bearer mk_live_…' -d '{
  "jsonrpc":"2.0","id":1,"method":"message/send",
  "params":{"message":{"kind":"message","role":"user","messageId":"m1",
    "parts":[{"kind":"data","data":{"skill":"search_publishers","arguments":{"country":"DE"}}}]}}}'

Long-running publishing

place_order returns a Task. tasks/get re-reads the real order: input-required (owner approval, payment by a person, or article content), working (publishing), completed (all live), failed, canceled or rejected. The result data artifact carries the order with every publication.

Streaming and push-notification configs are not offered; register a MediaKit webhook for push updates.

Skills

  • search_publishers — Search international publishers
  • publisher_details — Publisher details and prices
  • compare_prices — Compare sponsored article prices
  • calculate_package — Calculate publishing packages and quotes
  • search_packages — List country / language packages
  • validate_article — Validate articles and press releases
  • submit_article — Submit an article for a placement
  • place_order — Place authorized publishing orders
  • pay_order — Pay an order
  • monitor_publication — Monitor publication jobs
  • published_urls — Retrieve published URLs
  • publication_report — Publication report
  • spending_limits — Spending limits
  • request_spending_authorization — Request spending authorization