Custom Domain
STEP 1: Set the
This will be the domain to the Encord API, not the front-end app. If running locally:STEP 2: Set the
If running locally:Was this page helpful?
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Announcing our Series C with $110M in total funding. Read more →.
https://api.us.encord.com) or their own private VPC (Virtual Private Cloud).ENCORD_DOMAIN Environment variableexport ENCORD_DOMAIN=https://api.us.encord.com
import os
os.environ["ENCORD_DOMAIN"] = "https://api.us.encord.com"
ENCORD_SSH_KEY or ENCORD_SSH_KEY_FILE Environment variablesexport ENCORD_SSH_KEY="<your key>"
import os
os.environ["ENCORD_SSH_KEY"] = "<your key>"
@app.post("/my-agent")
def my_agent(user_client: Annotated[EncordUserClient, Depends(dep_user_client)]):
# use agent to get project, dataset, etc
from encord_agents.core.utils import get_user_client
encord_user_client = get_user_client()
Was this page helpful?
