- Documentation
- API Reference
- GraphQL API
API Reference
GraphQL API
Use GraphQL to query and mutate Inpera data
GraphQL Overview
Inpera provides a GraphQL API for flexible data querying. The GraphQL endpoint is available at https://api.inpera.app/graphql.
Queries
Example query to fetch snapshots:
query GetSnapshots {
snapshots(projectId: "your-project-id") {
id
name
url
createdAt
annotations {
id
x
y
comment
}
}
}Mutations
Example mutation to create a snapshot:
mutation CreateSnapshot($input: SnapshotInput!) {
createSnapshot(input: $input) {
id
name
url
}
}