Graphistry Router
Use this skill as the shared entrypoint across Graphistry interfaces.
Route By Interface
- Python SDK tasks (
import graphistry, DataFrame shaping,.plot(),.gfql()including Cypher/Let/DAG, PyGraphistry notebooks): usepygraphistry. - REST API tasks (
curl,/api/v2/..., JWT/Bearer auth, upload endpoints,graph.htmlURL params): usegraphistry-rest-api. - JavaScript/TypeScript SDK tasks (
@graphistry/*, browser/frontend integrations): usegraphistry-jswhen available.
Mixed Requests
- If a request mixes Python SDK and REST endpoints, start with
pygraphistryand pull ingraphistry-rest-apifor exact endpoint syntax. - For named-endpoint questions, keep guidance user-facing:
/api/v2/o/<org>/functions/...for definition lifecycle and/api/v2/o/<org>/run/...for execution. - Keep the first routing response compact: selected interface + one minimal snippet + one canonical doc link.
Safety Rules
- Use environment variables for credentials and secrets.
- Never put JWT tokens in URL query parameters.
- Prefer documented endpoints; avoid invented helper endpoints.
Canonical Docs
- Graphistry Hub docs: https://hub.graphistry.com/docs/
- PyGraphistry docs: https://pygraphistry.readthedocs.io/en/latest/
- REST auth docs: https://hub.graphistry.com/docs/api/1/rest/auth/
- REST upload docs: https://hub.graphistry.com/docs/api/2/rest/upload/
- REST SSO/single-use gateway docs: https://hub.graphistry.com/docs/api/2/rest/sso/
- REST GFQL UDF docs: https://hub.graphistry.com/docs/UDF/gfql-udf-api/
- REST Python UDF docs: https://hub.graphistry.com/docs/UDF/py-udf-api/