Graphs

GET /api/v1/graphs

Get Graphs

Response

Type: []Graph

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
user_idstring
notesstring
has_logobool
logostring
publicbool
shared_with_mebool
share_rolestringRole slug if shared (share_viewer, share_editor) (optional)
organization_idstringMulti-tenancy fields (Phase 1 RBAC)
These are nullable to maintain backward compatibility - resources without
org/project assignment belong to the user’s “personal workspace” (optional)
project_idstring(optional)
visibilitystringVisibility controls access inheritance (defaults to existing Public behavior)
“private” = only explicit grants, “project” = project members, “team” = team members,
“org” = org members, “public” = anyone (same as Public=true) (optional)
active_version_idstring
kindstring“property”, “knowledge”, “social”, “network”, etc.
configstringJSON config for graph-specific settings
schema_configstringNode/edge type definitions
versions[]GraphVersion

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs

POST /api/v1/graphs

Create Graph

Response

Type: Graph

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
user_idstring
notesstring
has_logobool
logostring
publicbool
shared_with_mebool
share_rolestringRole slug if shared (share_viewer, share_editor) (optional)
organization_idstringMulti-tenancy fields (Phase 1 RBAC)
These are nullable to maintain backward compatibility - resources without
org/project assignment belong to the user’s “personal workspace” (optional)
project_idstring(optional)
visibilitystringVisibility controls access inheritance (defaults to existing Public behavior)
“private” = only explicit grants, “project” = project members, “team” = team members,
“org” = org members, “public” = anyone (same as Public=true) (optional)
active_version_idstring
kindstring“property”, “knowledge”, “social”, “network”, etc.
configstringJSON config for graph-specific settings
schema_configstringNode/edge type definitions
versions[]GraphVersion

Example

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/graphs

GET /api/v1/graphs/{id}

Get Graph

Parameters

NameInTypeRequired
idpathstringtrue

Response

Type: Graph

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
user_idstring
notesstring
has_logobool
logostring
publicbool
shared_with_mebool
share_rolestringRole slug if shared (share_viewer, share_editor) (optional)
organization_idstringMulti-tenancy fields (Phase 1 RBAC)
These are nullable to maintain backward compatibility - resources without
org/project assignment belong to the user’s “personal workspace” (optional)
project_idstring(optional)
visibilitystringVisibility controls access inheritance (defaults to existing Public behavior)
“private” = only explicit grants, “project” = project members, “team” = team members,
“org” = org members, “public” = anyone (same as Public=true) (optional)
active_version_idstring
kindstring“property”, “knowledge”, “social”, “network”, etc.
configstringJSON config for graph-specific settings
schema_configstringNode/edge type definitions
versions[]GraphVersion

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs/{id}

PUT /api/v1/graphs/{id}

Update Graph

Parameters

NameInTypeRequired
idpathstringtrue

Response

Type: Graph

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
user_idstring
notesstring
has_logobool
logostring
publicbool
shared_with_mebool
share_rolestringRole slug if shared (share_viewer, share_editor) (optional)
organization_idstringMulti-tenancy fields (Phase 1 RBAC)
These are nullable to maintain backward compatibility - resources without
org/project assignment belong to the user’s “personal workspace” (optional)
project_idstring(optional)
visibilitystringVisibility controls access inheritance (defaults to existing Public behavior)
“private” = only explicit grants, “project” = project members, “team” = team members,
“org” = org members, “public” = anyone (same as Public=true) (optional)
active_version_idstring
kindstring“property”, “knowledge”, “social”, “network”, etc.
configstringJSON config for graph-specific settings
schema_configstringNode/edge type definitions
versions[]GraphVersion

Example

curl -X PUT \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/graphs/{id}

DELETE /api/v1/graphs/{id}

Delete Graph

Parameters

NameInTypeRequired
idpathstringtrue

Example

curl -X DELETE \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs/{id}

GET /api/v1/graphs/{id}/logo

Get Graph Logo

Parameters

NameInTypeRequired
idpathstringtrue

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs/{id}/logo

GET /api/v1/graphs/{id}/stats

Get Graph Stats

Parameters

NameInTypeRequired
idpathstringtrue

Response

Type: map[string]interface{}

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs/{id}/stats

POST /api/v1/graphs/{id}/upload

Create Graph Logo

Parameters

NameInTypeRequired
idpathstringtrue

Response

Type: Graph

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
user_idstring
notesstring
has_logobool
logostring
publicbool
shared_with_mebool
share_rolestringRole slug if shared (share_viewer, share_editor) (optional)
organization_idstringMulti-tenancy fields (Phase 1 RBAC)
These are nullable to maintain backward compatibility - resources without
org/project assignment belong to the user’s “personal workspace” (optional)
project_idstring(optional)
visibilitystringVisibility controls access inheritance (defaults to existing Public behavior)
“private” = only explicit grants, “project” = project members, “team” = team members,
“org” = org members, “public” = anyone (same as Public=true) (optional)
active_version_idstring
kindstring“property”, “knowledge”, “social”, “network”, etc.
configstringJSON config for graph-specific settings
schema_configstringNode/edge type definitions
versions[]GraphVersion

Example

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/graphs/{id}/upload