Documentation

Graphtia documentation · workflow

Explore APIs and OpenAPI contracts

Inspect API consumers, handlers and OpenAPI declarations with their source evidence and known limits.

Read one connected relationship map

Illustrative relationship mapOne view of code, an API and its declared data

Start with the endpoint, find its declaring handler, then inspect function calls, SQL operations and table declarations. The arrows retain each relationship’s direction.

Confirmed staticInferred table match
  1. getOrder() to GET /orders/:idDeclares endpoint · Confirmed staticDECLARES_API_HANDLER
  2. getOrder() to loadOrder()Calls · Confirmed staticCALLS
  3. getOrder() to loadCustomer()Calls · Confirmed staticCALLS
  4. loadOrder() to Read orderDeclares SQL operation · Confirmed staticDECLARES_DB_OPERATION
  5. loadCustomer() to Read customerDeclares SQL operation · Confirmed staticDECLARES_DB_OPERATION
  6. Read order to public.ordersReads table · InferredREADS_TABLE
  7. Read customer to public.customersReads table · InferredREADS_TABLE
  8. public.orders to public.customersForeign key · Confirmed staticFOREIGN_KEY
  9. schema.sql to public.ordersDeclares table · Confirmed staticDECLARES_TABLE
  10. schema.sql to public.customersDeclares table · Confirmed staticDECLARES_TABLE

Coverage is a separate question. A result may be partial even when an individual relationship is confirmed. Inspect coverage, completeness and limitations alongside each edge’s evidence strength.

Original explanatory illustration, not an Explorer screenshot or a captured query. Names are examples. The schema is an indexed SQL source file, not a live database connection; inferred reads do not prove execution. The foreign key points from orders to customers.

This original illustration connects an endpoint, its declaring handler, function calls, SQL operations and two tables declared in one SQL file. The handler points toward the endpoint it declares; the foreign key points from orders to customers. Table-read matches remain inferred.

Three different kinds of API evidence

  • Incoming: supported handler or provider definitions found in source.

  • Outgoing: supported client calls found in source.

  • Declaration: operations described by an indexed OpenAPI contract. A declaration alone is not proof of a deployed handler.

Find an endpoint

  1. Open an indexed workspace and choose API & DB, then APIs in code.

  2. Use the role filter to distinguish Outgoing, Handler declaration and Registration. Identify the method, route/protocol and owning source. Open an OpenAPI source separately to inspect its declared operations.

  3. Open an item and inspect its details and evidence. Follow the code action to the implementation or the declaration action to its contract.

  4. Use callers/callees or nearby code relationships for the owning symbol when available. Keep direction and relation type explicit.

  5. Read partial/unresolved notices and pagination before describing the result as complete.

Read an OpenAPI contract

Select an indexed OpenAPI JSON or YAML source from the declarations list. Explorer reads OpenAPI 3.0 and 3.1 operations, parameters, request bodies, responses and bounded nested schema declarations. Source pointers lead back to the document. Same-document references are bounded; external references are not fetched.

Explorer OpenAPI view for GET /orders showing a declared 200 response, a local schema reference, and orders and featured properties.
The GET /orders declaration shows its 200 application/json response, a local schema reference, and required orders versus optional featured properties. It is source contract evidence; no endpoint is called and no matching implementation is proved.

Boundary relationships

Supported static HTTP relationships can connect a recognizable consumer and provider when their identities match uniquely. Tauri IPC, generated-style Go/Java/.NET gRPC and named Python Celery tasks have their own boundary evidence. These are distinct from ordinary function calls; a matching label is not sufficient to invent a cross-language call.

What is not established

  • No request is sent to an endpoint, and no server availability, authentication policy or response behavior is tested.

  • Dynamic URLs, runtime routing, middleware, dependency injection and generated behavior can remain partial.

  • OpenAPI callbacks/webhooks, external reference resolution, Python gRPC and a general standalone Protocol Buffers analyzer are not claimed.

  • GraphQL and arbitrary API frameworks are not advertised as supported merely because their source files are indexed.

Ask a connected agent

Ask for the endpoint’s role, owning symbol, source pointer or range and indexed revision. The agent can use get_api_catalog and get_openapi_contract. Then read the implementation and run the appropriate tests in your own project; an API graph does not run them.

If the view is missing or empty

Check the installed Explorer version, selected workspace, indexing result and supported declaration format. Empty, unsupported and failed results have different meanings. Refresh the index after changing routes or contracts before combining old and new observations.

Inspect nested schemas and handler evidence

Use an exact schema pointer to inspect a nested declaration. A focused lookup can return a schema omitted from a bounded overview; it does not make the whole contract complete. Read depth, node and completeness notices.

Method and path matches identify candidate handlers. A narrow supported Next.js workflow can establish an exact static declaration association when method, path, application scope, configuration and source evidence agree. That association still does not prove deployment, runtime validation or that the implementation conforms to every schema rule.

API catalog filters cover HTTP and gRPC. Tauri IPC and Celery task relationships are separate boundary evidence. Connections stay within the authorized workspace and revision; there is no automatic cross-workspace federation.

The native contract view shows operations and their source. For deeper declaration detail, a connected agent can query an exact schema_pointer such as /components/schemas/Line. This differs from the source reference #/components/schemas/Line. Local references, recursion limits and unsupported declarations remain explicit; the example does not imply a native nested-schema tree or payload validation.

Illustrative exampleTwo references, one shared declaration

Both properties refer to the same local Line schema. A connected agent can inspect the exact pointer when an overview omits detail.

Order → lines → items

Array items use a local reference.

#/components/schemas/Line
Order → favorite

A property uses the same reference.

#/components/schemas/Line
Line

name is a string property; labels has string-valued additional properties.

Focused agent lookup/components/schemas/Line

Illustration of local declarations, not a desktop schema-tree screenshot. Cycles, unsupported references and bounded results remain explicit.

Put the evidence in context

Graphtia

This page is on its way. Join the waitlist to hear what’s next for Graphtia.

Join waitlist