Git Protocol + Embedding Pipeline
This endpoint handles git push operations and triggers automatic code embedding for semantic search.Push Flow
- Git push initiated - Client sends changes
- Authentication - API key validated and translated
- Push to Azure DevOps - Changes stored in git provider
- Branch detection - Branch name parsed from git protocol
- Webhook trigger - Embedding pipeline started asynchronously
- Code embedding - Changed files processed and embedded
Automatic Usage
Embedding Pipeline
After a successful push:- Waits 1.5s for Azure to process
- Fetches commit info and changed files
- Calls embedding service with
apiKeyIdfor usage attribution - Processes files with
morph-embedding-v4 - Stores embeddings for semantic search
Performance
The embedding pipeline runs asynchronously - your push completes immediately without waiting for embeddings.Authorizations
Use your Morph API key as the bearer token. Get your API key at https://morphllm.com/dashboard
Path Parameters
Repository identifier
Example:
"my-project"
Body
application/x-git-receive-pack-request · file
Git protocol push data with branch information
Git protocol pack data including ref updates (binary format)
Response
Push successful, embedding pipeline triggered
Git protocol push result