Skip to main content

eCourtDate Chatbot API

Grounded, citation-backed answers for court and agency websites. Build on an OpenAI-compatible API with a knowledge base you control: upload files, crawl your site, and let the assistant answer from your own content.

Base URLhttps://api.chatbots.ecourtdate.com/v1

import os
from openai import OpenAI

client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.chatbots.ecourtdate.com/v1",
)

completion = client.chat.completions.create(
model="court-assistant",
messages=[{"role": "user", "content": "When is my hearing?"}],
)

print(completion.choices[0].message.content)
# Grounded in the bot's knowledge base; [Source N] markers are resolved
# by the citations array on the message.

Built for production

OpenAI-compatible

Point the official OpenAI SDKs at the base URL and call chat completions, models, and embeddings as you already do. SDKs

Grounded answers with citations

Answers are drawn from your knowledge base and carry a citations array naming the passages they used. Citations

Your knowledge base

Upload files or crawl your public site; ingestion runs as jobs that you poll or receive signed webhooks for. Jobs and webhooks

Errors you can program against

Every error is one envelope, {"error": {...}}, with a stable code, a type, and the offending param. Errors

Resources