---
title: "Graphql Proxy"
method: POST
path: "/v1/graphql"
tags: ["v1", "GraphQL"]
---

# Graphql Proxy

`POST /v1/graphql`

GraphQL endpoint for querying PAPR Memory using GraphQL.

    This endpoint proxies GraphQL queries to Neo4j's hosted GraphQL endpoint,
    automatically applying multi-tenant authorization filters based on user_id, workspace_id,
    organization_id, and namespace_id.

    **Authentication Required**:
    One of the following authentication methods must be used:
    - Bearer token in `Authorization` header
    - API Key in `X-API-Key` header
    - Session token in `X-Session-Token` header

    **Request Body**:
    ```json
    {
      "query": "query { project(id: \"proj_123\") { name tasks { title } } }",
      "variables": {},
      "operationName": "GetProject"
    }
    ```

    **Example Query**:
    ```graphql
    query GetProjectTasks($projectId: ID!) {
      project(id: $projectId) {
        name
        tasks {
          title
          status
        }
      }
    }
    ```

    All queries are automatically filtered by user_id, workspace_id, organization_id,
    and namespace_id for security.

## Response `200`

Successful Response

- object — Generic JSON response object

---

[API](https://skmtc.net/papr-ai/apis/papr-memory-api.md) · [All operations](https://skmtc.net/papr-ai/apis/papr-memory-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/papr-ai/papr-memory-api/versions/b553be9aad37/schema)
