Skip to Content
Heuristic documentation

get_me

Read only

Who you act for, and what they can open. Start here: one call answers it all.

Set action to one of these (me when left out):

  • me (optional limit, cursor): The person who connected you (id, email, full name), how many organizations they belong to, app: the app you are connected as (clientId and name), which names your own changes in the histories, and organizations: their active memberships by name, each with its id, the person's role (admin or user) and its products by name with ids and the person's access (Admins own every product, viaAdmin true). Organizations come one page at a time, the default page fitting your answer: pass meta.nextCursor back as cursor for the next.
  • connected_apps (optional limit, cursor): The apps and AI agents the person allowed to act for them (you among them), newest first, with when each was allowed and last used. Its id is what update_me with action revoke_connected_app takes.
  • api_keys (optional limit, cursor): The person's active API keys in all their organizations, newest first: name, first characters, organization, access, last use, expiry (null: none), unused after 90 idle days. Its id is what update_me with action revoke_api_key takes.
  • invitation (needs token): The invitation in a link the person received: its organization, role and inviter. Only the person it was sent to can read it.

Actions (set action)

me

Who can use it
Anyone signed in
Hints
Read only
Runs
get_melist_my_organizations
Inputs
  • limit integer

    How many items to return, 1 to 100. Leave it out for a page that fits your answer: up to 50, fewer when they are long; page on while meta.nextCursor is set. A number you name can go over what fits.

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.

connected_apps

Who can use it
Anyone signed in
Hints
Read only
Runs
list_connected_apps
Inputs
  • limit integer

    How many items to return, 1 to 100 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.

api_keys

Who can use it
Anyone signed in
Hints
Read only
Runs
list_api_keys
Inputs
  • limit integer

    How many items to return, 1 to 100 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.

invitation

Who can use it
Only the person invited
Hints
Read only
Runs
get_invitation
Inputs
  • token string, required

    The invitation's token: the last part of the link in the invitation email.