Home / Function/ getProjectKeys() — supabase Function Reference

getProjectKeys() — supabase Function Reference

Architecture documentation for the getProjectKeys() function in projectApi.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  77186456_770b_c2d0_4e0e_c66ed27fc549["getProjectKeys()"]
  e6fbd812_b6cb_0b9d_17c4_039fcd2ca878["useProjectKeysQuery()"]
  e6fbd812_b6cb_0b9d_17c4_039fcd2ca878 -->|calls| 77186456_770b_c2d0_4e0e_c66ed27fc549
  style 77186456_770b_c2d0_4e0e_c66ed27fc549 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/lib/fetch/projectApi.ts lines 19–32

async function getProjectKeys({ projectRef }: ProjectApiVariables, signal?: AbortSignal) {
  if (!projectRef) {
    throw Error('projectRef is required')
  }

  const { data, error } = await get('/v1/projects/{ref}/api-keys', {
    params: {
      path: { ref: projectRef },
    },
    signal,
  })
  if (error) throw error
  return data
}

Subdomains

Frequently Asked Questions

What does getProjectKeys() do?
getProjectKeys() is a function in the supabase codebase.
What calls getProjectKeys()?
getProjectKeys() is called by 1 function(s): useProjectKeysQuery.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free